summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.bashrc3
1 files changed, 2 insertions, 1 deletions
diff --git a/.bashrc b/.bashrc
index a9d8549..ff8c0ec 100644
--- a/.bashrc
+++ b/.bashrc
@@ -25,7 +25,8 @@ function jc {
}
function goto {
- pushd "$(fzf --literal --filepath-word --walker=dir --walker-root="$HOME")"
+ local dst="$(fzf --literal --filepath-word --walker=dir --walker-root="$HOME")" \
+ && pushd "$dst"
}
export BROWSER="firefox"