fish: only source aliases in interactive mode

This commit is contained in:
dogeystamp 2024-03-22 20:35:38 -04:00
parent 153dbc8782
commit 0738247079
Signed by: dogeystamp
GPG Key ID: 7225FE3592EFFA38

View File

@ -2,15 +2,12 @@ if test -z "$SYSTEM_PROFILE"
set -gx SYSTEM_PROFILE SLIM
end
source ~/.config/fish/aliases.fish
# Set GPG_TTY
gpgt
# Disable fish greeting
set fish_greeting ""
if status --is-interactive
source ~/.config/fish/aliases.fish
# Enable Vi bindings
fish_hybrid_key_bindings