this post was submitted on 02 Oct 2023
1409 points (96.7% liked)

Programmer Humor

19623 readers
4 users here now

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

founded 1 year ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] newIdentity@sh.itjust.works 25 points 1 year ago* (last edited 1 year ago) (1 children)

Use Zsh or Fish and tab completion.

[–] janAkali@lemmy.one 8 points 1 year ago (3 children)

Or better yet, use z or zoxide:
"z down" will fuzzy match the "~/Download" folder.

[–] words_number@programming.dev 4 points 1 year ago

This is the way!

[–] seitanic@lemmy.sdf.org 2 points 1 year ago

Yeah, if that's the only reason, changing your shell is overkill.

[–] Astaroth@lemm.ee 1 points 1 year ago

Never used or heard of it before but apparently zoxide is only for cd command, do you happen to know if there's some fuzzy match for in general?

At the moment what I do is history foo | grep -i "bar"