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/_nox | |
parent | Adding upstream version 1:2.13.0. (diff) | |
download | bash-completion-839f2a19145079d32e1d0ab5a0f31f9cd7c3afdf.tar.xz bash-completion-839f2a19145079d32e1d0ab5a0f31f9cd7c3afdf.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 'completions/_nox')
-rw-r--r-- | completions/_nox | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/completions/_nox b/completions/_nox index 40b8bb1..6293109 100644 --- a/completions/_nox +++ b/completions/_nox @@ -4,8 +4,8 @@ # This serves as a fallback in case the completion is not installed otherwise. eval -- "$( - bin_path=$(type -P "$1" 2>/dev/null | command sed 's,/[^/]*$,,') - [[ $bin_path ]] && PATH=$bin_path${PATH:+:$PATH} + pathcmd=$(type -P -- "$1" 2>/dev/null | command sed 's,/[^/]*$,,') + [[ $pathcmd ]] && PATH=$pathcmd${PATH:+:$PATH} register-python-argcomplete --shell bash "$1" 2>/dev/null || register-python-argcomplete3 --shell bash "$1" 2>/dev/null )" |