main
Yax 1 year ago
parent 4984bbd3ea
commit ea073f117f

@ -8,9 +8,6 @@ set -gx EDITOR nvim
set -gx LANG fr_FR.UTF-8 set -gx LANG fr_FR.UTF-8
set -gx LC_ALL fr_FR.UTF-8 set -gx LC_ALL fr_FR.UTF-8
set --universal fish_greeting set --universal fish_greeting
abbr -a rm "rm --interactive --verbose"
abbr -a mv "mv --interactive --verbose"
abbr -a cp "cp --interactive --verbose"
# nix # nix
if test -e $HOME/.nix-profile/etc/profile.d/nix.sh if test -e $HOME/.nix-profile/etc/profile.d/nix.sh
@ -94,6 +91,14 @@ if test -e "$HOME/.config/fish/custom.fish"
source "$HOME/.config/fish/custom.fish" source "$HOME/.config/fish/custom.fish"
end end
if status is-interactive
# Commands to run in interactive sessions can go here # Commands to run in interactive sessions can go here
if status is-interactive
abbr -a rm "rm --interactive --verbose"
abbr -a mv "mv --interactive --verbose"
abbr -a cp "cp --interactive --verbose"
# direnv (https://direnv.net)
if which direnv > /dev/null
direnv hook fish | source
end
end end

Loading…
Cancel
Save