commit 92d584e4b305c1b6959c0d2e1e81d2b256fc6d7d parent 1b4fcd5b8dd8c8c8a9686341674fc1cc7772b26e Author: Chris Down <chris@chrisdown.name> Date: Sun, 19 Mar 2017 09:48:29 +0000 Use a function insted of an alias for dmenu shim Diffstat:
M | tests/test-clipmenu | | | 6 | +++++- |
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/tests/test-clipmenu b/tests/test-clipmenu @@ -37,7 +37,11 @@ shim() { fi } -alias dmenu='SHIM_STDOUT="Selected text. (2 lines)" shim dmenu' +# Cannot be an alias due to expansion order with $CM_LAUNCHER +dmenu() { + SHIM_STDOUT="Selected text. (2 lines)" shim dmenu +} + alias xsel='shim xsel' alias xclip='shim xclip' EOF