Add FINDER envar

This commit is contained in:
2022-04-11 17:11:10 -05:00
parent df0ef42f72
commit e855ef9a9d
2 changed files with 4 additions and 3 deletions

6
zshrc
View File

@ -55,10 +55,10 @@ if (( $+commands[direnv])); then
eval "$(direnv hook zsh)"
fi
# Use fzf
if (( $+commands[fzf] )); then
# Use $FINDER and $EDITOR
if (( $+commands[$FINDER] )); then
e?() {
$EDITOR $(fzf)
$EDITOR $($FINDER)
}
fi