complation: fix filename completion for bash completion
cmr=v1.8.1:reviewer=jsquyres This commit was SVN r31307.
Этот коммит содержится в:
родитель
1e37dcf976
Коммит
b709dc9e5a
@ -194,6 +194,8 @@ _mpirun() {
|
|||||||
elif test "${cur:0:1}" = "-" ; then
|
elif test "${cur:0:1}" = "-" ; then
|
||||||
switches=$(_get_mpirun_switches)
|
switches=$(_get_mpirun_switches)
|
||||||
COMPREPLY=($(compgen -W "$switches" -- "$cur"))
|
COMPREPLY=($(compgen -W "$switches" -- "$cur"))
|
||||||
|
else
|
||||||
|
COMPREPLY=($(compgen -f -- "$cur"))
|
||||||
fi
|
fi
|
||||||
|
|
||||||
return 0
|
return 0
|
||||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user