if status is-interactive
# Commands to run in interactive sessions can go here
#
- fish ~/.local/bin/base16-flavours-fish
+ test -f ~/.local/bin/base16-flavours-fish && fish ~/.local/bin/base16-flavours-fish
source ~/.config/fish/functions/eza-aliases.fish
source ~/.config/fish/functions/git-aliases.fish
set EZA_COLORS "*.patch.skip=38;5;244"
source (/usr/bin/starship init fish --print-full-init | psub)
set -g fish_greeting
trap "sh ~/.local/bin/base16-flavours" "SIGUSR1"
- . ~/venv/bin/activate.fish
end
-if test "$DISPLAY" = "" -a "$WAYLAND_DISPLAY" = "" -a "$XDG_VTNR" = 1
- tbsm
-end
+# set hostname
+set -x HOSTNAME (hostname | string split -m1 '.')[1]
# support jumping between prompts with foot terminal
function mark_prompt_start --on-event fish_prompt
fish_add_path /home/andy/.local/bin
fish_add_path /home/andy/.cargo/bin
fish_add_path /home/andy/go/bin
-fish_add_path /home/andy/Applications/
-fish_add_path /home/andy/.spicetify
+fish_add_path /home/andy/Applications
+