Revision 9395
Added by Aaron Marcuse-Kubitza over 11 years ago
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
bugfix: lib/sh/util.sh: log+ alias: don't expand next word because it's not a cmd