summaryrefslogtreecommitdiffstats
path: root/completions/mysql
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-17 14:57:17 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-17 14:57:17 +0000
commit4df698401a10efcd92ae24bada945e6bc73e565f (patch)
treee4007d29857dee54d238eab588299b04b778d45e /completions/mysql
parentAdding debian version 1:2.13.0-1. (diff)
downloadbash-completion-4df698401a10efcd92ae24bada945e6bc73e565f.tar.xz
bash-completion-4df698401a10efcd92ae24bada945e6bc73e565f.zip
Merging upstream version 1:2.14.0.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to '')
-rw-r--r--completions/mysql2
1 files changed, 1 insertions, 1 deletions
diff --git a/completions/mysql b/completions/mysql
index 4ba049f..f1b9a9b 100644
--- a/completions/mysql
+++ b/completions/mysql
@@ -24,7 +24,7 @@ _comp_cmd_mysql()
# Prefer `mysqlshow` in the same dir as the command
local pathcmd
- pathcmd=$(type -P "$1") && local PATH=${pathcmd%/*}:$PATH
+ pathcmd=$(type -P -- "$1") && local PATH=${pathcmd%/*}:$PATH
local noargopts='!(-*|*[uDhSPeI]*)'
# shellcheck disable=SC2254