Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
I just have zshvim. It have the whole history as a vim buffer so i can just look up shit
-
@retoor looks nice, but I find that 'x timeunits ago' format rather annoying, esp when it's everywhere...
I prefer bash's built-ins (taken from my ~/.bashrc):
```
export HISTTIMEFORMAT="%F %T "
export IGNOREEOF=2
export PROMPT_COMMAND='echo -ne "↑$(date +%H:%M:%S) [${PIPESTATUS[@]}]\n"'
```
Still working on the 'duration' part -
To be fair I found it to be a great blessing using the standard ctrl R.
But thanks I’ll check it out -
retoor119246d@netikras nice. Even worse, the duration is live, so it updates every second. 1s ago, 2s ago etc. Who makes smth like that live 😂
-
If cwerg was a word in Polish it would sound like the German word for dwarf.
Does it involve dwarves in any way?
I can't be doing with it if there are no dwarves. -
Tounai12826dI wonder why everyone is going crazy with this thing, it seems like a bloated version of the default search
-
retoor119246d@Tounai if you mean recently, it was part of an episode of a popular linux yt channel. Reason that people go crazy is because ctrl+r was very limited, if you did several times "cp <filename>" it wouldn't search further than last match until you type along. It still works like that but narrows it down to a list.
-
retoor119246d@Tounai I made ctrl+p today. It will navigate to every project directory what i'm working on at the moment and executes "code .". So, now I have client, server and protocol project open at once. Should've make this earlier. All the time i've spent cd'ing to all those directories
-
retoor119246d@Tounai it's 1.500 points :D Ah i see, you also have 5.000 to 7.000 but this one is realiistic. I did match my avatar at a certain company. Now it's more smart casual
-
cprn17075dSo no one does the Rincewind...?
bindkey "^P" history-beginning-search-backward
bindkey "^N" history-beginning-search-forward
Related Rants
Minor review for making life a bit easier:
There's a nice app to manage your bash history to upgrade your useless ctrl+r in terminal. It's called atuin. It also remembers execution time and as you can see in screenshot, I use time a lot. It can also give you statistics on most used apps. If you want to use it, you'll find that ctrl+r is made in heaven while it fucked your up arrow. You can disable this with a flag.
See the movie on how it works at: https://atuin.sh/
random
shell
ctrl+r
atuin
history
bash
terminal
shortcut