awful: use env to find bash

Signed-off-by: Julien Danjou <julien@danjou.info>
This commit is contained in:
Julien Danjou 2008-06-18 20:13:35 +02:00
parent ecb1db4ca3
commit dc452cb8c0
1 changed files with 1 additions and 1 deletions

View File

@ -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