summaryrefslogtreecommitdiff
path: root/mac/.config/shell/profile
diff options
context:
space:
mode:
Diffstat (limited to 'mac/.config/shell/profile')
-rw-r--r--mac/.config/shell/profile7
1 files changed, 5 insertions, 2 deletions
diff --git a/mac/.config/shell/profile b/mac/.config/shell/profile
index 546aafe..8e5e3ff 100644
--- a/mac/.config/shell/profile
+++ b/mac/.config/shell/profile
@@ -10,8 +10,11 @@ export LC_CTYPE=ko_KR.UTF-8
export BROWSER=$(command -v librewolf || command -v firefox || command -v qutebrowser)
export EDITOR="nvim"
export EDITOR2="vim"
-# export FILE_MANAGER="lf $(lf -version)"
-export FILE_MANAGER="yazi $(yazi --version)"
+if command -v lf >/dev/null 2>&1; then
+ export FILE_MANAGER="lf $(lf -version)"
+elif command -v yazi >/dev/null 2>&1; then
+ export FILE_MANAGER="yazi $(yazi --version)"
+fi
export KEYTIMEOUT=10
export SUDO_EDITOR=$EDITOR
# export SUDO_ASKPASS="$HOME/.local/bin/dmenupass"