Remarkbox
Log in
Topic: https://brettterpstra.com/2021/12/24/a-fuzzy-cd-command-for-fish/

Comments

We'll email a 6-digit code to verify your comment and notify you of replies.

hide preview ▲show preview ▼
y5FnwF9P 4y, 324d ago [edited]

Howdy. Much appreciated, just switching over to fish from zsh. I snagged all your files and I think it's missing 'shortest.fish' from the list

my run:

$ cd bar 
fish: Unknown command: shortest
in command substitution
    called on line 32 of file ~/.config/fish/functions/ffmark.fish

this is super dope.

We'll email a 6-digit code to verify your comment and notify you of replies.

hide preview ▲show preview ▼
Brett 4y, 324d ago

Ah, sorry I missed that one. It's in the autoload functions (functions/shortest.fish)

We'll email a 6-digit code to verify your comment and notify you of replies.

hide preview ▲show preview ▼
unverified 4y, 341d ago

Hello Brett, in ffmark.fish shouldn't the two instances of 'replace' (lines 35 and 42) actually be 'string replace'? Otherwise it throws an error for me.

We'll email a 6-digit code to verify your comment and notify you of replies.

hide preview ▲show preview ▼
Brett 4y, 341d ago

Yep, just caught that this morning, new version in the repo.

We'll email a 6-digit code to verify your comment and notify you of replies.

hide preview ▲show preview ▼