$this_command is interpreted by `echo`
dseomn opened this issue · comments
David Mandelberg commented
A very small number of useless commands are ignored by bash-preexec, because they're passed to echo
. E.g., the command line -n
causes bash-preexec to run echo -n
which does not print -n
. The solution I've seen is to use printf '%s\n' ...
instead of echo
.