summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorqkzk <qkzk@users.noreply.github.com>2023-03-11 06:55:28 +0100
committerGitHub <noreply@github.com>2023-03-11 06:55:28 +0100
commit6361846412ac39e906ae5700960da94e219f824c (patch)
tree0be3988483822522d3c56217fa700af27dec0cd4
parent49555c2d15e4c6f5d1ab16429d32f73bed11bc30 (diff)
parentf6d3279dd533f2f5395e2632554d5f92df4aa6ba (diff)
Merge pull request #75 from LudoPinelli/master
Add function for "cd on quit" for fish shell users in readme.md
-rw-r--r--readme.md11
1 files changed, 11 insertions, 0 deletions
diff --git a/readme.md b/readme.md
index 4d1aabd..8790bdc 100644
--- a/readme.md
+++ b/readme.md
@@ -109,6 +109,17 @@ function f() {
fi
}
```
+For fish users, this is the function to add to your `config.fish`
+
+```bash
+function f
+ # start the fm filemanager, enabling cd on quit.
+ set dest (fm $argv)
+ if not test -z $dest
+ cd $dest
+ end
+end
+```
## Default keybindings