3 ms·
Just turn off the distracting notifications. That means growl notifications, dock icon badge counts, audio notifications (ding!), and anything else that might p
by frossie 16y ago
Just turn off the distracting notifications. That means growl notifications, dock icon badge counts, audio notifications (ding!), and anything else that might pull you away from what you're doing.
So we use IM for work a lot (even within the same office), and I have found that the optimal level of notification is a static or barely animated icon in the bottom right of your screen (no pop-ups or audio or anything like that). It's subtle enough that you don't see it if you are in the zone, but easy enough to spot if you're task-switching anyway.
As for aliasing, I have gone backwards through the years - I used to alias everything, but then I discovered when I sat in front of a virgin system I couldn't remember how to do anything so now I avoid it whenever reasonable. I do, however, make heavy use of keyboard acceleration to minimise mouse use, which in turn minimises wrist pain.
- a-priori 16y agoInstead of aliasing common commands, I make heavy use of Ctrl-r at the command prompt to search the history. So if I have a complex command I want to run several times, I'll type it out in full the first time. After that, I'll hit Ctrl-r and start typing part of the command until it shows the one I mean, then hit enter to run it.
- gommm 16y agoIf you're using zsh, you should try adding this to your .zshrc bindkey '\e[A' history-search-backward bindkey '\e[B' history-search-forward It tells zsh to search backward and forward in the history for any line starting with the same string as what is currently entered when you press the up and down arrow... Helps saves a lot of time compared to always just using Ctrl-r. I think there's an equivalent for bash, but I don't know it...
- gcr 16y agoMy bash uses readline, so I have this in my ~/.inputrc: "\e[5~": history-search-backward "\e[6~": history-search-forward This is for PageUp and PageDn.