Bash: how-to improve history manipulation

By default, up and down keys allow you to navigate your bash history. Another option is the history built-in command and bash expansions (ex.: !2 runs the second command, oldest to newest, from your bash history). There are also tools, like bash-it, that allow for better history manipulation, but this also adds a lot of other stuff, so it might make your .bashrc load slower. It will make your bash look good as hell too....

agosto 10, 2018 · 1 minuto · Bruno Miguel

note-keeper, a script for your note taking needs

note-keeper is a small bash script to simplify the creation, editing and management of notes. It uses the text editor set up in the $EDITOR environment variable, but if that variable is empty it defaults to Vim in insert mode. (the image from this post is the one found in the script repository at the time of this article publishing)

agosto 2, 2018 · 1 minuto · Bruno Miguel