How-to customize the Bash prompt

In order to adapt a bit more my Debian Stable installation to my workflow, I’ve been tweaking the bash prompt. Simplicity and small line width are key here, because I often have tmux running with several panes in the same window and small panes with large one-liner prompts suck a lot! Everything feels crammed and hard to read. Just take a look at the image below to get an idea....

setembro 21, 2018 · 2 minutos · Bruno Miguel

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

How to get good font rendering in Void Linux

This post lacks an example image because I’ve recovered it from a backup (with only text and no image) and I’m not using Void Linux at the moment. If you follow this guide and decide to share an image, I’ll gladly use it here and give you credit. This guide assumes you are using Void Linux (you can probably replicate it in other distributions; just check the paths), have Freetype installed and using some sort of Window Manager or Desktop Environment....

julho 24, 2018 · 2 minutos · Bruno Miguel