this post was submitted on 02 Oct 2023
1418 points (96.8% liked)

Programmer Humor

19660 readers
545 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
[–] [email protected] 25 points 1 year ago* (last edited 1 year ago) (1 children)

Use Zsh or Fish and tab completion.

[–] [email protected] 8 points 1 year ago (3 children)

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

[–] words_number 4 points 1 year ago

This is the way!

[–] [email protected] 3 points 1 year ago

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

[–] [email protected] 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"