fish: fix if-else condition for nnn environment variable
This commit is contained in:
parent
370ebcb022
commit
4f604c7737
@ -42,11 +42,11 @@ set -x LESSHISTFILE '-'
|
||||
# nnn (filemanager) settings
|
||||
if type -q nnn
|
||||
set -x NNN_CONTEXT_COLORS '4231'
|
||||
{{- if eq .chezmoi.osRelease.id "arch" }}
|
||||
{{- if eq .chezmoi.hostname "arch" }}
|
||||
set -x NNN_BMS 'm:/mnt/;h:/mnt/hdd/;t:/mnt/hdd/torrent;v:/mnt/hdd/vids;B:/mnt/hdd/bass;b:/mnt/hdd/books;M:/mnt/hdd/books/manga;d:~/dl;.:~/.config'
|
||||
{{- else if eq .chezmoi.osRelease.id "buzz" }}
|
||||
{{- else if eq .chezmoi.hostname "buzz" }}
|
||||
set -x NNN_BMS 'u:/usbkey;m:/mnt/;d:~/dl;t:~/dl/torrent;.:~/.config'
|
||||
{{ end }}
|
||||
{{- end }}
|
||||
end
|
||||
|
||||
# python
|
||||
|
Loading…
x
Reference in New Issue
Block a user