Project

General

Profile

« Previous | Next » 

Revision 9307

lib/sh/util.sh: cd(): documented what -P option does and why it's used

View differences:

util.sh
418 418
{
419 419
	cmd2rel_path; echo_cmd "$FUNCNAME" "$@"
420 420
	can_log && caller_indent || true
421
	# -P: expand symlinks so $PWD matches the output of realpath
421 422
	builtin "$FUNCNAME" -P "$@"
422 423
	set_paths
423 424
}

Also available in: Unified diff