if status is-interactive # Commands to run in interactive sessions can go here starship init fish | source neofetch # abbreviations abbr --add --global gA 'git add -A' abbr --add --global ga 'git add' abbr --add --global gc 'git clone' abbr --add --global gcm 'git commit -m' abbr --add --global gp 'git push' abbr --add --global gpl 'git pull' abbr --add --global gs 'git status' abbr --add --global rF 'rm -rf' abbr --add --global rM 'rm -r' abbr --add --global x 'chmod +x' # general PATH fish_add_path $HOME/.scripts fish_add_path $HOME/.local/bin fish_add_path $HOME/.config/emacs/bin fish_add_path /usr/local/bin # PATH for different languages fish_add_path $HOME/.gopath fish_add_path $HOME/.local/flutter/bin fish_add_path $HOME/.cargo/bin set -x RUST_SRC_PATH $HOME/.cargo set -x GOPATH $HOME/.gopath set -x QT_QPA_PLATFORMTHEME "gtk2" # default apps set -x EDITOR "nvim" set -x VISUAL "emacs" set -x TERMINAL "alacritty" set -x BROWSER "librewolf" set -x READER "librewolf" set -x COLORTERM "truecolor" set -x PAGER "bat" # disable greeting set fish_greeting fish_ssh_agent end