awful: use env to find bash
Signed-off-by: Julien Danjou <julien@danjou.info>
This commit is contained in:
parent
ecb1db4ca3
commit
dc452cb8c0
|
@ -486,7 +486,7 @@ local function menu_completion_bash(command, cur_pos, ncomp)
|
|||
comptype = "command"
|
||||
end
|
||||
|
||||
local c = io.popen("/bin/bash -c 'compgen -A " .. comptype .. " " .. words[cword_index] .. "'")
|
||||
local c = io.popen("/usr/bin/env bash -c 'compgen -A " .. comptype .. " " .. words[cword_index] .. "'")
|
||||
local output = {}
|
||||
i = 0
|
||||
while true do
|
||||
|
|
Loading…
Reference in New Issue