sh: Complete script arguments with all filenames (Alioth: #314226).
This commit is contained in:
parent
9780b0a044
commit
daaa54100e
@ -26,7 +26,10 @@ _sh()
|
||||
return 0
|
||||
fi
|
||||
|
||||
_filedir sh
|
||||
local args ext=
|
||||
_count_args
|
||||
[[ $args -eq 1 ]] && ext=sh
|
||||
_filedir $ext
|
||||
} &&
|
||||
complete -F _sh sh
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user