Terminal Setup

What I use in my terminal

VCastor

3/1/20241 min read

Hello!, majority of time I use the Terminal for everything, I quite hater of the graphic interface and the use of mouse. However, the vanilla terminal in the majority of GNU/Linux flavours (that I've tasted) and in macOS, are not really the best.

I personally have tried some external terminal emulators and plugins, and my favourites settings for the Terminal are next.

Currently I use macOS as personal computer and GNU/Linus in my two server computers in my office.

For macOS I use the Terminal App installed by default (nothing wrong with iTerm2, but I haven't experimented anything where I really need that App), BUT, we need to modify many things.

First of all, WTF with Apple!?, they selected white background!, you'll be blind after two minutes. Change the colours, open the settings [CMD + ,] in the profiles section you can change the colours, and there's repositories like https://github.com/lysyi3m/macos-terminal-themes where you can see preselected really good combinations.

Middle step for mac users, there're mainly tow package managers for macOS, homebrew and macports. I recommend install both, but for majority of cases homebrew works just fine.

Select your shell, like you select your first Pokémon. For current version of macOS, the default shell is zsh, for majority of GNU/Linux OS bash is the default. However, of course you can always switch. There're some other shells, like fish, but I personally a bash girl.

We can start being a organised person, all (or majority) of aliases will be in a particular file, ~/.bash_alises, and in the ~/.bash_profile we will have the next three lines:

if [ -f ~/.bash_aliases ]; then
. ~/.bash_aliases
fi

Add a better style, if you're using zsh oh-my-zsh is the way, if you will follow the bash path oh-my-posh is the best