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

Programmer Humor

19512 readers
338 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 26 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"