We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
command -v
which
1 parent 938f23e commit 90d7e38Copy full SHA for 90d7e38
bin/fzf-tmux
@@ -7,7 +7,7 @@ fail() {
7
exit 2
8
}
9
10
-fzf="$(command -v fzf 2> /dev/null)" || fzf="$(dirname "$0")/fzf"
+fzf="$(command which fzf)" || fzf="$(dirname "$0")/fzf"
11
[[ -x "$fzf" ]] || fail 'fzf executable not found'
12
13
args=()
0 commit comments