HNHacker News
TopNewBestAskShowJobs

oxidized

28 karma · joined April 4, 2017

submissionscomments
oxidized··on Moving efficiently in the CLI

  Keep in mind, most of these work anywhere in OS X, not just in the terminal.
Adding on to this - this works in many places in OS X, since many programs happen use NSTextField, which can have shortcuts configured at the OS level.

You can further customize the shortcuts available in a file called DefaultKeyBinding.dict

I use a very slightly modified version of this: https://gist.github.com/cheapRoc/9670905

I highly recommend looking into that, for anyone who is familiar with emacs keybindings and would like them everywhere.

oxidized··on Historian: Because Please Stop Deleting My Bash History
This is probably not related to the MacOS issues the author had, but I've actually had my .bash_history cleared out due to a known issue in bash:

http://unix.stackexchange.com/a/88856

> When closing multiple bash instances at the same time, there is a known race condition that may cause the history to be cleared.