67 lines
1.6 KiB
Fish
Executable File
67 lines
1.6 KiB
Fish
Executable File
# fish_config theme choose "Dracula Official"
|
|
# source ~/.config/fish/themes/tokyonight_storm.fish
|
|
|
|
if status is-interactive
|
|
# Commands to run in interactive sessions can go here
|
|
end
|
|
|
|
function fish_greeting
|
|
# echo "Welcome Enrique"
|
|
# fastfetch
|
|
end
|
|
|
|
function yy
|
|
set tmp (mktemp -t "yazi-cwd.XXXXXX")
|
|
yazi $argv --cwd-file="$tmp"
|
|
if set cwd (command cat -- "$tmp"); and [ -n "$cwd" ]; and [ "$cwd" != "$PWD" ]
|
|
builtin cd -- "$cwd"
|
|
end
|
|
rm -f -- "$tmp"
|
|
end
|
|
|
|
cat "$XAUTHORITY" > ~/.Xauthority
|
|
|
|
## EVALS ##
|
|
# eval (/home/linuxbrew/.linuxbrew/bin/brew shellenv)
|
|
starship init fish | source
|
|
fzf --fish | source
|
|
|
|
|
|
## ALIASES ##
|
|
alias zy "sudo zypper"
|
|
alias zypper 'sudo zypper'
|
|
alias srcfish 'source ~/.config/fish/config.fish'
|
|
alias pull-st 'bash ~/bin/pull-st.sh'
|
|
alias push-st 'bash ~/bin/push-st.sh'
|
|
alias sentinel 'ssh -X admin@192.168.0.108 "/publico/sentinel n"'
|
|
alias nb.sentinel 'ssh -X admin@100.88.99.193 "/publico/sentinel n"'
|
|
alias glowp 'glow -p'
|
|
alias glows 'glow -s dracula'
|
|
alias mdcht 'glow -s ~/Projects/Qt-Learning/Notes/xx-MarkDown-CheatSheet.md'
|
|
alias nv 'nvim'
|
|
|
|
|
|
## EXPORTS ##
|
|
set -Ux EDITOR nvim
|
|
set -Ux MICRO_TRUECOLOR 1
|
|
fish_add_path -g -p ~/flutter-dev/flutter/bin
|
|
fish_add_path -g -p /opt/android-studio/bin
|
|
fish_add_path -g -p ~/.pub-cache/bin
|
|
fish_add_path -g -p /usr/local/bin
|
|
fish_add_path -g -p ~/.local/bin
|
|
fish_add_path -g -p ~/go/bin
|
|
|
|
|
|
|
|
## NEOVIM DISTRO ##
|
|
set -Ux NVIM_APPNAME "nvim"
|
|
# set -Ux NVIM_APPNAME "nvim2"
|
|
|
|
|
|
|
|
|
|
# Generated for envman. Do not edit.
|
|
test -s ~/.config/envman/load.fish; and source ~/.config/envman/load.fish
|
|
|
|
# Add avalon to PATH
|
|
fish_add_path -g -p /home/enrique/avalon/bin |