summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorache <ache@ache.one>2021-07-10 01:15:50 +0200
committerache <ache@ache.one>2021-07-10 01:15:50 +0200
commit0f17f479e70521c9ad5fafa5c73f67bf698c4bf7 (patch)
treea1460ca55adbb591e0f634bf52760fcc553ae0ae
parentAlias Bluetooth function (diff)
Fix config fish
-rw-r--r--config.fish14
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"