Better syntax for command[__]

This commit is contained in:
James Patrick 2024-07-16 12:01:51 -04:00
parent 99b9d1e64f
commit 1eae74cc6d
No known key found for this signature in database

View File

@ -3,7 +3,7 @@ bindkey '^ ' autosuggest-accept
# fzf
# If fzf is installed, source fzf key bindings.
if (( $+commands[fzf] )); then
if [[ -x "$(command -v fzf)" ]]; then
source <(fzf --zsh)
fi