News for hackers. Stuff that matters.

oxidized

Re:Moving efficiently in the CLI on Friday January 26, 2018 @07:09PM (#16243972)

  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.

Re:Historian: Because Please Stop Deleting My Bash History on Thursday April 13, 2017 @01:13AM (#14104316)
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.