diff options
Diffstat (limited to 'config.fish')
-rw-r--r-- | config.fish | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/config.fish b/config.fish index 77e00bc..4485a78 100644 --- a/config.fish +++ b/config.fish @@ -1,14 +1,14 @@ if status is-interactive - if which khal 2> /dev/null > /dev/null + if type khal 2> /dev/null > /dev/null khal calendar 2> /dev/null end end -if which roxterm 2> /dev/null > /dev/null +if type roxterm 2> /dev/null > /dev/null set -x TERMINAL roxterm end -if which nvim 2> /dev/null > /dev/null +if type nvim 2> /dev/null > /dev/null set -x VISUAL nvim set -x EDITOR nvim set -x SYSTEMD_EDITOR nvim @@ -18,7 +18,7 @@ else set -x SYSTEMD_EDITOR vim end -if which ruby 2> /dev/null > /dev/null +if type ruby 2> /dev/null > /dev/null set RUBY_PATH (ruby -e 'print Gem.user_dir')/bin end @@ -58,7 +58,7 @@ if [ -d "$DEVKITPRO_DIR" ] set -x PATH $PATH "$DEVKITPRO_PATH" end -if which fcitx 2> /dev/null > /dev/null +if type fcitx 2> /dev/null > /dev/null set -x GTK_IM_MODULE "fcitx" set -x QT_IM_MODULE "fcitx" set -x XMODIFIERS "@im=fcitx" |