From dc452cb8c01e7c56aee4f18b700d5d30c11e9704 Mon Sep 17 00:00:00 2001 From: Julien Danjou Date: Wed, 18 Jun 2008 20:13:35 +0200 Subject: [PATCH] awful: use env to find bash Signed-off-by: Julien Danjou --- awful.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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