diff --git a/poc b/poc index 803ee33..64031bd 100755 --- a/poc +++ b/poc @@ -14,7 +14,7 @@ function is_true { # FIXME: define an alias to bypass ARG evaluation when unnecessary! # example: -# alias toto="bash -c \"[[ \\\$MIAOU_DEBUG == 'true' ]] && echo yes || echo nope\"" +# alias toto="bash -c \"[[ \\\$MIAOU_DEBUG == 'true' ]] && echo yes \\\$* || echo nope\"" function miaou_debug { is_true "${MIAOU_DEBUG}" && >/dev/tty builtin echo -e "\r\e[90mDEBUG <==> \e[95m$*\e[0m" || true }