Revision 9253
Added by Aaron Marcuse-Kubitza over 11 years ago
lib/sh/util.sh | ||
---|---|---|
287 | 287 |
builtin "$@" |
288 | 288 |
} |
289 | 289 |
|
290 |
cd() # indent is permanent within subshell cd was used in |
|
291 |
{ |
|
292 |
cmd2rel_path; set -- "$FUNCNAME" "$@"; echo_params |
|
293 |
can_log && caller_indent || true |
|
294 |
builtin "$@" |
|
295 |
} |
|
296 |
|
|
290 | 297 |
echo_eval() { echo_params; builtin eval "$@"; } |
291 | 298 |
|
292 | 299 |
## external commands |
Also available in: Unified diff
lib/sh/util.sh: added cd() wrapper that logs itself and indents (indent is permanent within subshell cd was used in)