diff --git a/.config/lf/lfrc b/.config/lf/lfrc index 760facca1..b2b3eb20c 100644 --- a/.config/lf/lfrc +++ b/.config/lf/lfrc @@ -10,7 +10,6 @@ set period 1 set previewer "~/.config/lf/preview/chafa" set cursorpreviewfmt "\033[7;90m" set promptfmt "\033[34;1m%u\033[36m@\033[34m%h \033[35m[\033[0;1m%d\033[35m]\033[32m ยป \033[33m%f\033[0m" -set opener=opener cmd pushedit %{{ echo "Open: " && read files diff --git a/.config/zsh/.zprofile b/.config/zsh/.zprofile index 8fdfdef90..30e90b655 100644 --- a/.config/zsh/.zprofile +++ b/.config/zsh/.zprofile @@ -6,6 +6,8 @@ export EDITOR="nvim" export TERMINAL="st" +export TERMCMD=$TERMINAL +export OPENER=opener export BROWSER="brave-browser" # Locale diff --git a/.config/lf/opener b/.local/bin/opener similarity index 73% rename from .config/lf/opener rename to .local/bin/opener index 2f1e723a0..f026df660 100755 --- a/.config/lf/opener +++ b/.local/bin/opener @@ -4,7 +4,7 @@ set -f if [ "$2" ]; then for f in "$@"; do # shellcheck disable=2086 - rifle -p0 $f + rifle -c "$XDG_CONFIG_HOME/lf/rifle.conf" -p 0 $f done else rifle -c "$XDG_CONFIG_HOME/lf/rifle.conf" -p 0 "$1"