From 0f17f479e70521c9ad5fafa5c73f67bf698c4bf7 Mon Sep 17 00:00:00 2001 From: ache Date: Sat, 10 Jul 2021 01:15:50 +0200 Subject: Fix config fish --- config.fish | 14 +++++++------- 1 file 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" -- cgit v1.2.3