Revision 9393
Added by Aaron Marcuse-Kubitza about 11 years ago
util.sh | ||
---|---|---|
504 | 504 |
|
505 | 505 |
cd() # indent is permanent within subshell cd was used in |
506 | 506 |
{ |
507 |
log++ echo_func |
|
507 | 508 |
cmd2rel_path; echo_cmd "$FUNCNAME" "$@" |
508 | 509 |
can_log && caller_indent || true |
509 | 510 |
# -P: expand symlinks so $PWD matches the output of realpath |
Also available in: Unified diff
lib/sh/util.sh: cd(): trace-log the cd() function call itself (at log_level 3) in addition to the cd builtin call