]> git.sev.monster Git - dotfiles.git/blobdiff - bin/dmenu_runsmart
update zsh, X, gpg config; add ssh config, gpg bin
[dotfiles.git] / bin / dmenu_runsmart
index 71cb8adc4a0e72dba6b6493029f63223885f7fe9..c62e9ce0e67edd1f4e77c8e4ec79dd561dd39b2e 100755 (executable)
@@ -1,7 +1,10 @@
 #!/bin/sh
 cmd=$(dmenu_path | ~/bin/dmenu "$@")
 if [ -n "$cmd" ]; then
-       # zsh SH_WORD_SPLIT is unset by default, `=' flag is required to expand
+       # 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.
+       # 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.040978 seconds and 4 git commands to generate.