Skip to content

Commit 350b1b7

Browse files
committed
refactor(nox): rename variable bin_path => pathcmd to match others
1 parent 50865aa commit 350b1b7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

completions/_nox

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@
44
# This serves as a fallback in case the completion is not installed otherwise.
55

66
eval -- "$(
7-
bin_path=$(type -P "$1" 2>/dev/null | command sed 's,/[^/]*$,,')
8-
[[ $bin_path ]] && PATH=$bin_path${PATH:+:$PATH}
7+
pathcmd=$(type -P "$1" 2>/dev/null | command sed 's,/[^/]*$,,')
8+
[[ $pathcmd ]] && PATH=$pathcmd${PATH:+:$PATH}
99
register-python-argcomplete --shell bash "$1" 2>/dev/null ||
1010
register-python-argcomplete3 --shell bash "$1" 2>/dev/null
1111
)"

0 commit comments

Comments
 (0)