update fish config

This commit is contained in:
reonokiy 2025-02-12 00:36:54 +08:00
parent dc2ac8c6f5
commit 53c3d8960c
Signed by: reonokiy
SSH key fingerprint: SHA256:2VjKpUxMIe0QYY3OVnOMuPiB0X5pvrIpJ+UiyFhxtq0

View file

@ -0,0 +1,19 @@
# disable fish greeting
set fish_greeting
# nix
if command -v nix >/dev/null
fish_add_path ~/.nix-profile/bin
end
# direnv
if command -v direnv >/dev/null
direnv hook fish | source
set -g direnv_fish_mode eval_on_arrow
end
# starship
if command -v starship >/dev/null
source (starship init fish --print-full-init | psub)
end