How many times will you hit the up arrow before you give up and type a command?
-
How many times will you hit the up arrow before you give up and type a command?
@zak history | grep
-
How many times will you hit the up arrow before you give up and type a command?
@zak Thanks for posting this - after several years of using this particular MBP, I finally got around to enabling per-directory history in zsh.
This exact thing has been driving me nuts lately, but I hadn't realised how annoying it was until I started to type a reply.
-
@zak Thanks for posting this - after several years of using this particular MBP, I finally got around to enabling per-directory history in zsh.
This exact thing has been driving me nuts lately, but I hadn't realised how annoying it was until I started to type a reply.
@adam_caudill This is the smart thing to do for sure. I need to get around to doing this, too.
-
@zak Generally, it's close to 100 times. If I didn't get it, then I
cat ~/.zsh_history | grep <thing> -
How many times will you hit the up arrow before you give up and type a command?
@zak@infosec.exchange i usually just type the command, although admittedly i dont use terminal much these days
-
-
@adam_caudill This is the smart thing to do for sure. I need to get around to doing this, too.
@zak Luckily, I use oh-my-zsh, so enabling it was just adding the name of a plugin to the .zshrc - less than a minute from start to finish. That'll pay for itself within a day or so.
-
How many times will you hit the up arrow before you give up and type a command?
@zak just once more
-
How many times will you hit the up arrow before you give up and type a command?
-
How many times will you hit the up arrow before you give up and type a command?
@zak Once…
And then I remember that ^R using `fzf` is so much more effective!
-
How many times will you hit the up arrow before you give up and type a command?
@zak 10?
-
@zak I should add that with zsh I use auto suggestion and tab completion for just about anything. Makes it faster than up arrow 100x
-
How many times will you hit the up arrow before you give up and type a command?
Maybe 3-4.
Its Ctrl-R I have trouble quitting! -
How many times will you hit the up arrow before you give up and type a command?
@zak Variable. It depends on the length of the command!
-
R ActivityRelay shared this topic
(grep pattern file is the default, you don't have to pipe into it)