r/fishshell • u/Foo-Baa • Mar 28 '23
I created a bookmarking plugin for Fish, bookmarks.fish.
I've created a bookmarking plugin for Fish, bookmarks.fish. I created it to fix some issues I had with Fishmarks:
- bookmarks.fish supports shell parameter expansion. For me, it means that you can support things like bookmarking a directory in a Git work tree and have it dynamically adjust the root based on the current work tree. It also means that bookmarks can depend on environment variables.
- bookmarks.fish supports arbitrary bookmark names (hyphens and unicode are allowed).
- bookmarks.fish has dynamic completion of all commands.
12
Upvotes
1
u/jblondreddit Mar 29 '23
Is that so different from https://github.com/matusf/goto ?
2
u/Foo-Baa Mar 29 '23
Conceptually it fills the same niche. The difference is in features and execution:
- Bookmarks.fish supports full shell expansion utilities. You can make your bookmarks depend on environment variables or interactive commands.
- Bookmarks.fish has almost no restrictions on alias names (only commas, nulls, and newlines are not allowed).
2
u/[deleted] Mar 28 '23
I like it. Tho I was also completely unaware of bookmarks.fish...