diff options
| author | TheSiahxyz <164138827+TheSiahxyz@users.noreply.github.com> | 2025-12-24 13:54:03 +0900 |
|---|---|---|
| committer | TheSiahxyz <164138827+TheSiahxyz@users.noreply.github.com> | 2025-12-24 13:54:03 +0900 |
| commit | 28e8bdf7f8286bd431b7f3b709e79f3827b31469 (patch) | |
| tree | 85b44eff6da4d8443198fb6e04dfb6ee55244588 /mac/.config/shell/profile | |
| parent | 8470ff001befcfd0f626dea69a9e76d43aee0511 (diff) | |
Diffstat (limited to 'mac/.config/shell/profile')
| -rw-r--r-- | mac/.config/shell/profile | 7 |
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" |
