Revision 9161
Added by Aaron Marcuse-Kubitza over 11 years ago
lib/sh/util.sh | ||
---|---|---|
227 | 227 |
} |
228 | 228 |
|
229 | 229 |
# echo all external commands |
230 |
alias command='echo_run command ' # last space alias-expands next word
|
|
230 |
alias command='echo_run command'
|
|
231 | 231 |
|
232 | 232 |
# auto-echo common external commands |
233 | 233 |
for cmd in env rm; do alias "$cmd=command $cmd"; done; unset cmd |
Also available in: Unified diff
lib/sh/util.sh: command alias: don't alias-expand next word, because the next word should only be interpreted as a command (part of the effect of the `command` builtin)