Merge pull request #11887 from Bo98/quiet_cd
bin/brew: actually quiet cd
This commit is contained in:
commit
e3876e86c1
@ -1,7 +1,7 @@
|
||||
set +o posix
|
||||
|
||||
quiet_safe_cd() {
|
||||
cd "$1" >/dev/null || { echo "Error: failed to cd to $1" >&2; exit 1; }
|
||||
cd "$1" &>/dev/null || { echo "Error: failed to cd to $1" >&2; exit 1; }
|
||||
}
|
||||
|
||||
absdir() {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user