We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7e6a220 commit fa6ec59Copy full SHA for fa6ec59
completions/pydoc
@@ -25,7 +25,7 @@ _pydoc()
25
COMPREPLY=( $( compgen -W 'keywords topics modules' -- "$cur" ) )
26
27
if [[ $cur != @(.|*/)* ]]; then
28
- local python=python; [[ $1 == *3* ]] && python=python3
+ local python=python; [[ ${1##*/} == *3* ]] && python=python3
29
_xfunc python _python_modules $python
30
fi
31
completions/pylint
@@ -5,7 +5,7 @@ _pylint()
5
local cur prev words cword split
6
_init_completion -s || return
7
8
9
10
case $prev in
11
--version|--help|--long-help|--help-msg|--init-hook|--ignore|--enable|\
0 commit comments