awful.completion: handle first word as command always
This is necessary for `./*`, but should apply in general.
It was changed in 3986409e
, but there is no argument for it in the
commit (message) really.
This commit is contained in:
parent
2a69ffa374
commit
4c792b49a9
|
@ -93,7 +93,7 @@ function completion.shell(command, cur_pos, ncomp, shell)
|
|||
i = i + 1
|
||||
end
|
||||
|
||||
if cword_index == 1 and not string.find(words[cword_index], "/") then
|
||||
if cword_index == 1 then
|
||||
comptype = "command"
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in New Issue