From 28e8bdf7f8286bd431b7f3b709e79f3827b31469 Mon Sep 17 00:00:00 2001 From: TheSiahxyz <164138827+TheSiahxyz@users.noreply.github.com> Date: Wed, 24 Dec 2025 13:54:03 +0900 Subject: updates --- mac/.config/shell/profile | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'mac/.config/shell/profile') 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" -- cgit v1.2.3