service: Fix /path/to/service completion.
This commit is contained in:
parent
b1f2402bfd
commit
e21af9b038
@ -14,7 +14,7 @@ _service()
|
||||
# don't complete past 2nd token
|
||||
[ $cword -gt 2 ] && return 0
|
||||
|
||||
if [[ $cword -eq 1 && $prev == service ]]; then
|
||||
if [[ $cword -eq 1 && $prev == ?(*/)service ]]; then
|
||||
_services
|
||||
else
|
||||
local sysvdir
|
||||
|
Loading…
x
Reference in New Issue
Block a user