]> git.sev.monster Git - dotfiles.git/blobdiff - bin/dmenu_runsmart
fix which usage, create function check-busybox
[dotfiles.git] / bin / dmenu_runsmart
index c239db1f29c2864b7b0acebea95b10eee7660972..c62e9ce0e67edd1f4e77c8e4ec79dd561dd39b2e 100755 (executable)
@@ -2,7 +2,9 @@
 cmd=$(dmenu_path | ~/bin/dmenu "$@")
 if [ -n "$cmd" ]; then
        # NOTE: only tested with zsh and sh, and has issues with expansion; zsh
-       # SH_WORD_SPLIT is unset by default, `=' flag is required to expand it
+       # SH_WORD_SPLIT is unset by default, `=' flag is required to expand it.
+       # XXX: probably has issues with single quotes
+       # XXX: does not perform any(!) shell expansion
        echo "alias sudo='sudo -Ak'
 cmd='$(echo "$cmd" | sed "s/'/'\\\\''/g")'" '
 if [ -n "$ZSH_VERSION" ]; then
This page took 0.034594 seconds and 4 git commands to generate.