commit c9e485c7aee49f3efc8f36247f7a722d47d424f2 parent b379609bd10d3667acb3d94ae15f7f24ba6e7248 Author: Byron Torres <b@torresjrjr.com> Date: Sat, 3 Jul 2021 10:31:17 +0100 lf(): Use >/dev/null instead of -q for pushd Diffstat:
M | sh/.rc.sh | | | 4 | ++-- |
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/sh/.rc.sh b/sh/.rc.sh @@ -53,7 +53,7 @@ info() { lf() { [ -n "$1" ] && { - [ -d "$1" ] && pushd -q "$1" || { + [ -d "$1" ] && pushd "$1" >/dev/null || { echo "No directory '$1'"; return 1 } } @@ -69,7 +69,7 @@ lf() { ) \ | more -f - [ -n "$1" ] && popd -q + [ -n "$1" ] && popd >/dev/null } gitf() {