fish: change nnn bookmarks (env variable)

This commit is contained in:
inkch 2025-01-20 19:40:39 +09:00
parent a6ab2c9f08
commit 7f67a66f83

View File

@ -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