Project

General

Profile

« Previous | Next » 

Revision 10018

lib/sh/util.sh: auto-echo common external commands: added `which`

View differences:

lib/sh/util.sh
51 51
alias echo_run='"echo_run" ' # last space alias-expands next word
52 52

  
53 53
# auto-echo common external commands
54
for cmd in env rm; do alias "$cmd=echo_run $cmd"; done; unset cmd
54
for cmd in env rm which; do alias "$cmd=echo_run $cmd"; done; unset cmd
55 55

  
56 56
function echo_vars() { :; }
57 57

  

Also available in: Unified diff