aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.bashrc4
1 files changed, 3 insertions, 1 deletions
diff --git a/.bashrc b/.bashrc
index f180d8e..e98fe7d 100644
--- a/.bashrc
+++ b/.bashrc
@@ -40,7 +40,9 @@ pacs() {
FOSSILS_HOME=$HOME/Documents/Fossils
fslcd() {
- cd $(fossil all ls -c | fzf)
+ local fsl_checkout
+ fsl_checkout=$(fossil all ls -c | fzf +m) &&
+ cd "$fsl_checkout"
}
# fossil init script