update shell config

This commit is contained in:
2026-07-27 02:53:24 +02:00
parent 678cfb76ba
commit 21e902bd61
24 changed files with 300 additions and 634 deletions
@@ -0,0 +1,39 @@
# PATH is managed by .bash_profile
# man
if type -q bat
set -x -g MANPAGER "sh -c 'col -bx | bat -l man -p'"
set -x -g MANROFFOPT -c
end
# Editor
for app in helix nvim vim vi nano
if type -q $app
set -x -g EDITOR $app
set -x -g VISUAL $app
break
end
end
# Create shortcut alias for helix
if type -q helix; and not type -q hx
alias hx helix
end
# gpg
set -x -g GPG_TTY (tty)
# done
set -U __done_min_cmd_duration 10000
set -U __done_notification_urgency_level low
# fnm
if type -q fnm
fnm env --shell fish --use-on-cd | source
end
# bat
if type -q bat
set -xg BAT_THEME "Catppuccin Mocha"
set -xg BAT_STYLE "default,-numbers"
end