Project

General

Profile

« Previous | Next » 

Revision 9751

lib/sh/util.sh: log+ aliases: added clog++/-- aliases for cmds, which don't include log_local. these are useful when you can't just use "log++" because you need the command following it to be alias-expanded.

View differences:

util.sh
298 298
alias log+='log_local; "log+"' # don't expand next word because it's not a cmd
299 299
alias log++='log_local; "log++" ' # last space alias-expands next word
300 300
alias log--='log_local; "log--" ' # last space alias-expands next word
301
# no clog+ alias because next word is not a cmd
302
alias clog++='"log++" ' # last space alias-expands next word
303
alias clog--='"log--" ' # last space alias-expands next word
301 304

  
302 305
verbosity_min() # usage: verbosity_min min
303 306
{ if test "$(verbosity_int)" -lt "$1"; then verbosity="$1"; fi; }

Also available in: Unified diff