diff --git a/dot_config/private_fish/env.fish.tmpl b/dot_config/private_fish/env.fish.tmpl index 46bdaeb..98a9c41 100644 --- a/dot_config/private_fish/env.fish.tmpl +++ b/dot_config/private_fish/env.fish.tmpl @@ -40,8 +40,14 @@ set -x LESS '-RI' set -x LESSHISTFILE '-' # nnn (filemanager) settings -set -x NNN_CONTEXT_COLORS '4231' -set -x NNN_BMS 'j:/mnt/hdd2;l:/mnt/hdd2/vids/films;m:/mnt/;h:/mnt/hdd/;d:~/dl;t:~/dl/torrent;.:~/.config' +if type -q nnn + set -x NNN_CONTEXT_COLORS '4231' + {{- if eq .chezmoi.osRelease.id "arch" }} + set -x NNN_BMS 'j:/mnt/hdd2;l:/mnt/hdd2/vids/films;m:/mnt/;h:/mnt/hdd/;d:~/dl;t:/mnt/hdd/torrent;.:~/.config' + {{- else if eq .chezmoi.osRelease.id "buzz" }} + set -x NNN_BMS 'u:/usbkey;m:/mnt/;d:~/dl;t:~/dl/torrent;.:~/.config' + {{ end }} +end # python set -x PYTHONSTARTUP $XDG_CONFIG_HOME/pythonrc