aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGuangxiong Lin <[email protected]>2023-11-15 22:57:10 +0800
committerGuangxiong Lin <[email protected]>2023-11-15 22:57:10 +0800
commit1ee184c609ff4c712b1be91d4ce9c14a22619ea8 (patch)
treef93c9ea6ec37b863083661167b7ab56b0027a6bc
parent7de27509734330495fc54235283047c2e74ee8b3 (diff)
downloaddotfiles-1ee184c609ff4c712b1be91d4ce9c14a22619ea8.tar.gz
dotfiles-1ee184c609ff4c712b1be91d4ce9c14a22619ea8.tar.bz2
dotfiles-1ee184c609ff4c712b1be91d4ce9c14a22619ea8.zip
Use command -v instead of type
-rw-r--r--.env2
1 files changed, 1 insertions, 1 deletions
diff --git a/.env b/.env
index b5bbc00..a77e94a 100644
--- a/.env
+++ b/.env
@@ -13,7 +13,7 @@ export TERMINAL=$TERMINAL
export BROWSER='firefox'
-if type fcitx5 > /dev/null; then
+if command -v fcitx5 > /dev/null; then
export GLFW_IM_MODULE=ibus
export GTK_IM_MODULE=fcitx
export QT_IM_MODULE=fcitx