In order to enjoy full terminal experience I highly recommend to install one of the Nerd Fonts. I currently use JetBrainsMono Nerd Font.
# Retrieve the latest version
version=$(curl --silent "https://api.github.com/repos/ryanoasis/nerd-fonts/releases/latest" | jq -r .'tag_name')
# Create font directory
mkdir -pv ${HOME}/.local/share/fonts/JetBrainsMono
# Download and extract the font collection
curl -sLO https://github.com/ryanoasis/nerd-fonts/releases/download/${version}/JetBrainsMono.zip
unzip JetBrainsMono.zip -d ${HOME}/.local/share/fonts/JetBrainsMono/
# Rebuild font cache
fc-cache -f -v
# Cleanup
rm -rf JetBrainsMono.zipFork this repository and follow the steps below:
Create a new .dotfiles directory and initialize a bare repository.
mkdir -p $HOME/dotfiles && git init --bare $_Note: To make your life easier, ensure that the initial branch name is
mainby usinggit config --global init.defaultBranch main.
Create a runtime alias.
alias config='/usr/bin/git --git-dir=$HOME/dotfiles --work-tree=$HOME'Optionally hide untracked files.
config config --local status.showUntrackedFiles noConfigure the upstream repository, update with your username.
config remote add origin git@github.com:maroskukan/dotfilesPull from origin.
config pull origin mainNote: If you receive an error
Error: Untracked working tree file <file-name> would be overwritten by merge. You can add itconfig add <file-name>and stash itconfig stashand then pull again.
When ready, source the .bashrc file to make changes effective.