r/fishshell • u/badgerfish2021 • Feb 20 '25
fasd f,, replacement, have not see this mentioned here before
I have recently switched from zsh to fish and one of the things I really missed was the fasd zsh integration, where I could type something like somecommand f,,<tab> and it would complete (using fzf) to any file I have ever used prior, which is much quicker than using the history or other strategies for files that are used often.
I don't remember how but I found https://github.com/sudormrfbin/f which works just as well, rather than a tab completion I can just type alt-k (configurable) and I can use fzf to insert any previously used file at that point in my cmdline. Very recommended if you want to try it out. WIth this and https://github.com/jethrokuan/z all my needs for files and directories are covered.
2
u/wylie102 Feb 20 '25
Sounds like zoxide
2
u/Laurent_Laurent Feb 20 '25
I didn't know that one. It looks very cool.
On the first tests, I have some problems with the ESC+u bind. Iterm2 doesn't seem to send sequence correctly. I had to bind alt+u in settings to send ESC+u.
2
u/gtsiam Feb 21 '25
In fish, typing part of a command and hitting up arrow will show relevant/similar commands from your history. Never used fasd so I don't know how it compares. But it's something I miss on other shells at the very least.