set -o vi
ESC k /command
or just grep history...
Hint: :q!
Sister communities:
Community rules (click to expand)
1. Follow the site-wide rules
sudo
in Windows.Please report posts and comments that break these rules!
Important: never execute code or follow advice that you don't understand or can't verify, especially here. The word of the day is credibility. This is a meme community -- even the most helpful comments might just be shitposts that can damage your system. Be aware, be smart, don't remove France.
set -o vi
ESC k /command
or just grep history...
history 500 | grep *snippet of command*
Why are you making personal attacks against me.
Everyone sharing their Ctrl+R tips, here's my Control+R question:
How does scope work? Some command history only seems to exist in certain tabs.
Also sometimes I Ctrl+R in a tab then the command is there but I forget I need a different one first, so I ctrl+c but the next time I search for that original command somehow it doesn't exist anymore.
I'm using the default terminal on Nobara (fedora based).
It's too early to call me out like that.
Guilty!
I type the first few letters and use up arrow, or !start of command name
Set -o vi
Atuin Magic Shell History is pretty good.
Me, playing indie games on Apple and doing the same with xattr -d com.apple.quarantine ~filepath
This is why I use fish, it's weird and not posix compliant, but its autocomplete and history stuff saves so much time it's worth it
Nah just save all your commands in a text file on the desktop then make an alias to open it in nano so you just have to type "com". Works for dumb ol me