summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Voss <mail@thomasvoss.com> 2024-11-28 20:02:22 +0100
committerThomas Voss <mail@thomasvoss.com> 2024-11-28 20:02:22 +0100
commiteb6b73e114fdac565795c24449e737eaf8825193 (patch)
tree9a6706521c83c1257930f5f45decb70f1c0368f9
parent4bfd864f10b68b71482b35c818559068ef8d5797 (diff)
bash: Switch out cd with pushd
-rw-r--r--.bashrc2
1 files changed, 1 insertions, 1 deletions
diff --git a/.bashrc b/.bashrc
index 37474d9..cf1ff8c 100644
--- a/.bashrc
+++ b/.bashrc
@@ -25,7 +25,7 @@ function jc {
}
function goto {
- cd "$(fzf --literal --filepath-word --walker=dir --walker-root="$HOME")"
+ pushd "$(fzf --literal --filepath-word --walker=dir --walker-root="$HOME")"
}
export BROWSER="firefox"