Revision 8984
Added by Aaron Marcuse-Kubitza over 11 years ago
util.sh | ||
---|---|---|
112 | 112 |
|
113 | 113 |
echo_run () { echo_cmd "$@"; "$@"; } |
114 | 114 |
|
115 |
# auto-echo common external commands |
|
116 |
for cmd in rm; do alias "$cmd=echo_run $cmd"; done; unset cmd |
|
117 |
|
|
115 | 118 |
alias echo_run_extern='echo_run log_stderr_cmd "extern" ' |
116 | 119 |
# last space alias-expands next word |
117 | 120 |
|
Also available in: Unified diff
lib/util.sh: auto-echo common external commands, such as rm