diff --git a/awful.lua b/awful.lua index 9cc1e8c5..c9eabd0e 100644 --- a/awful.lua +++ b/awful.lua @@ -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