From 157d72fe33a00b6e3a5265c4c0dcf26c8250ec9a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert=20Kmie=C4=87?= Date: Sun, 3 Mar 2024 23:43:43 +0100 Subject: [PATCH] Fish: only load colors if they are defined --- .config/fish/config.fish | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.config/fish/config.fish b/.config/fish/config.fish index b6c0f16..2195bdb 100644 --- a/.config/fish/config.fish +++ b/.config/fish/config.fish @@ -1,6 +1,6 @@ set -x EDITOR nvim set -x PAGER less -set -x MANPAGER "sh -c 'col -bx | bat -l man -p'" +#set -x MANPAGER 'sh -c \'col -bx | bat -l man -p\'' set -x fish_prompt_pwd_dir_length 1 set -x fish_greeting '' set fish_complete_path $fish_complete_path /usr/share/fish/completions @@ -21,7 +21,9 @@ set -x PATH $PATH /home/kmcr/.codon #if status is-interactive # cat ~/.cache/wal/sequences #end -source ~/.local/share/nvim/lazy/falcon/exa/EXA_COLORS +if test -e ~/.local/share/nvim/lazy/falcon/exa/EXA_COLORS + source ~/.local/share/nvim/lazy/falcon/exa/EXA_COLORS +end function list_dir --on-variable PWD ls