Skip to content

Commit 87e6982

Browse files
builtin for pushd
1 parent 7b33fd1 commit 87e6982

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

dot/common.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,11 @@ function fail()
1212
}
1313

1414
pushd () {
15-
command pushd "$@" > /dev/null
15+
builtin pushd "$@" > /dev/null
1616
}
1717

1818
popd () {
19-
command popd "$@" > /dev/null
19+
builtin popd "$@" > /dev/null
2020
}
2121

2222
# https://superuser.com/questions/39751/add-directory-to-path-if-its-not-already-there

0 commit comments

Comments
 (0)