this post was submitted on 16 Aug 2024
600 points (97.9% liked)

Programmer Humor

32400 readers
492 users here now

Post funny things about programming here! (Or just rant about your favourite programming language.)

Rules:

founded 5 years ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] lord_ryvan@ttrpg.network 11 points 2 months ago (2 children)

Seems to work with [Ctrl]+[R] as well, though of course only with exact matches.

[–] vort3@lemmy.ml 4 points 2 months ago (1 children)

Sure, just as I said, this would work id you don't need menu or fuzzy matching. But I would recommend using fzf history search anyway, it's just too good.

[–] lord_ryvan@ttrpg.network 3 points 2 months ago

M-hm, I will try it as well! I was just letting people know the comment trick works regardless, cause that's a nice tip as well!

[–] tetris11@lemmy.ml 1 points 2 months ago (2 children)

I've never understood prompt decoration like this.

How.
Does.
Punctuating.
Every.
Statement.
Increase.
Readability.

[–] ikidd@lemmy.world 2 points 2 months ago

It makes my eyes bleed.

[–] lord_ryvan@ttrpg.network 2 points 2 months ago

You meant the PS1 prompt?

I just use one of the default oh-my-zsh themes that makes a clear line, so I can easily find the last line above a long output, for example when trying to read it back chronologically. With other PS1's I often scroll over it without noticing.