diff options
author | ache <ache@ache.one> | 2021-07-10 01:15:50 +0200 |
---|---|---|
committer | ache <ache@ache.one> | 2021-07-10 01:15:50 +0200 |
commit | 0f17f479e70521c9ad5fafa5c73f67bf698c4bf7 (patch) | |
tree | a1460ca55adbb591e0f634bf52760fcc553ae0ae | |
parent | Alias Bluetooth function (diff) |
Fix config fish
-rw-r--r-- | config.fish | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/config.fish b/config.fish index 1f52e52..64fc256 100644 --- a/config.fish +++ b/config.fish @@ -1,15 +1,15 @@ -if status --is-interactive ^ /dev/null - if which khal ^ /dev/null > /dev/null - khal calendar ^ /dev/null +if status is-interactive + if which khal 2> /dev/null > /dev/null + khal calendar 2> /dev/null end end -if which roxterm ^ /dev/null > /dev/null +if which roxterm 2> /dev/null > /dev/null set -x TERMINAL roxterm end -if which nvim ^ /dev/null > /dev/null +if which nvim 2> /dev/null > /dev/null set -x VISUAL nvim set -x EDITOR nvim set -x SYSTEMD_EDITOR nvim @@ -19,7 +19,7 @@ else set -x SYSTEMD_EDITOR vim end -if which ruby ^ /dev/null > /dev/null +if which ruby 2> /dev/null > /dev/null set RUBY_PATH (ruby -e 'print Gem.user_dir')/bin end @@ -48,7 +48,7 @@ if [ -d "$EMSCRIPTEN_PATH" ] set -x PATH $PATH "$EMSCRIPTEN_PATH" end -if which fcitx ^ /dev/null > /dev/null +if which fcitx 2> /dev/null > /dev/null set -x GTK_IM_MODULE "fcitx" set -x QT_IM_MODULE "fcitx" set -x XMODIFIERS "@im=fcitx" |