diff options
Diffstat (limited to 'package')
-rw-r--r-- | package/.sdb-completion.bash | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/package/.sdb-completion.bash b/package/.sdb-completion.bash index 7623a06..addcbc6 100644 --- a/package/.sdb-completion.bash +++ b/package/.sdb-completion.bash @@ -8,7 +8,8 @@ _sdb() COMPREPLY=() - if [ ! -f ${SDB_PATH} ]; + IS_SDB_IN_PATH=`which sdb` + if [ ! -f ${SDB_PATH} ] && [ -z ${IS_SDB_IN_PATH} ]; then return 0; fi |