Project

General

Profile

« Previous | Next » 

Revision 9395

bugfix: lib/sh/util.sh: log+ alias: don't expand next word because it's not a cmd

View differences:

lib/sh/util.sh
241 241
log++() { log+  1 "$@"; }
242 242
log--() { log+ -1 "$@"; }
243 243
alias log_local='declare PS4="$PS4" verbosity="$verbosity"'
244
alias log+='log_local; "log+" ' # last space alias-expands next word
244
alias log+='log_local; "log+"' # don't expand next word because it's not a cmd
245 245
alias log++='log_local; "log++" ' # last space alias-expands next word
246 246
alias log--='log_local; "log--" ' # last space alias-expands next word
247 247

  

Also available in: Unified diff