fish: change nnn bookmarks (env variable)
This commit is contained in:
parent
a6ab2c9f08
commit
7f67a66f83
@ -40,8 +40,14 @@ set -x LESS '-RI'
|
|||||||
set -x LESSHISTFILE '-'
|
set -x LESSHISTFILE '-'
|
||||||
|
|
||||||
# nnn (filemanager) settings
|
# nnn (filemanager) settings
|
||||||
set -x NNN_CONTEXT_COLORS '4231'
|
if type -q nnn
|
||||||
set -x NNN_BMS 'j:/mnt/hdd2;l:/mnt/hdd2/vids/films;m:/mnt/;h:/mnt/hdd/;d:~/dl;t:~/dl/torrent;.:~/.config'
|
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
|
# python
|
||||||
set -x PYTHONSTARTUP $XDG_CONFIG_HOME/pythonrc
|
set -x PYTHONSTARTUP $XDG_CONFIG_HOME/pythonrc
|
||||||
|
Loading…
x
Reference in New Issue
Block a user