diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-05-17 14:57:16 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-05-17 14:57:16 +0000 |
commit | 839f2a19145079d32e1d0ab5a0f31f9cd7c3afdf (patch) | |
tree | e8091b85221c46641c1a902e9e19ca72fd0d002f /completions/pydoc | |
parent | Adding upstream version 1:2.13.0. (diff) | |
download | bash-completion-upstream.tar.xz bash-completion-upstream.zip |
Adding upstream version 1:2.14.0.upstream/1%2.14.0upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to '')
-rw-r--r-- | completions/pydoc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/completions/pydoc b/completions/pydoc index 2cf2987..12e83e4 100644 --- a/completions/pydoc +++ b/completions/pydoc @@ -25,7 +25,7 @@ _comp_cmd_pydoc() if ! _comp_looks_like_path "$cur"; then # Prefer python in the same dir for resolving modules local pathcmd - pathcmd=$(type -P "$1") && local PATH=${pathcmd%/*}:$PATH + pathcmd=$(type -P -- "$1") && local PATH=${pathcmd%/*}:$PATH _comp_compgen -ax python modules fi |