From eb6b73e114fdac565795c24449e737eaf8825193 Mon Sep 17 00:00:00 2001 From: Thomas Voss Date: Thu, 28 Nov 2024 20:02:22 +0100 Subject: bash: Switch out cd with pushd --- .bashrc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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" -- cgit v1.2.3