aboutsummaryrefslogtreecommitdiff
path: root/completions/bash/footclient
diff options
context:
space:
mode:
Diffstat (limited to 'completions/bash/footclient')
-rw-r--r--completions/bash/footclient2
1 files changed, 1 insertions, 1 deletions
diff --git a/completions/bash/footclient b/completions/bash/footclient
index b672c247..0381e8a0 100644
--- a/completions/bash/footclient
+++ b/completions/bash/footclient
@@ -57,7 +57,7 @@ _footclient()
compopt -o dirnames
elif [[ ${prev} == '--term' ]] ; then
# check if toe is available
- which toe > /dev/null || return 1
+ command -v toe > /dev/null || return 1
COMPREPLY=( $(compgen -W "$(toe -a | awk '$1 ~ /[+]/ {next}; {print $1}')" -- ${cur}) )
elif [[ ${prev} == '--log-level' ]] ; then
COMPREPLY=( $(compgen -W "none error warning info" -- ${cur}) )