Gone Fishing
This weekend I explored the Fish Shell (a modern interactive Unix shell). I've been dabbling with it for a while, particularly enjoying its interactive features: command suggestions, the TAB-completion menu, the fact that it Just Works™ out of the box, and understands commands and options by groking their man
-pages.
I've wanted to port a few of my bash functions which I've been missing: my ssh-pass
to load SSH keys onto the Agent's keyring with passphrase supplied by pass
, and an alias to get my 1password passphrase from pass
as well. Also some directory navigation shortcuts that I've used since my university days. I figured these would be a good introduction to how fish's scripting works, and I was right