Pretty Terminal
Ich habe mein Terminal etwas Aufgehübscht.
Als farbige alternative zu dem 'langweiligen' ls nutze ich das Programm eza.
Auch ist es nett, den Typ einer Datei durch ein Symbol darzustellen. Dazu kommt Nerd Font zum einsatz. Die Fonts werden durch Patches um Pixart erweitert.
Zu guter letzt nutze ich vivid um LS_COLORS zu generieren
Nerd Font
- Download a Nerd Font
- Unzip and copy to ~/.config/share/fonts
- Run the command
fc-cache -fv
to manually rebuild the font cache
eza
sudo apt update
sudo apt install -y gpg
sudo mkdir -p /etc/apt/keyrings
wget -qO- https://raw.githubusercontent.com/eza-community/eza/main/deb.asc | sudo gpg --dearmor -o /etc/apt/keyrings/gierens.gpg
echo "deb [signed-by=/etc/apt/keyrings/gierens.gpg] http://deb.gierens.de stable main" | sudo tee /etc/apt/sources.list.d/gierens.list
sudo chmod 644 /etc/apt/keyrings/gierens.gpg /etc/apt/sources.list.d/gierens.list
sudo apt update
sudo apt install -y eza
Dracula Gnome Terminal
sudo apt-get install dconf-cli
git clone https://github.com/dracula/gnome-terminal
cd gnome-terminal
./install.sh
vivid
vivid is a generator for the LS_COLORS environment variable that controls the colorized output of ls, tree, fd, bfs, dust and many other tools.
wget "https://github.com/sharkdp/vivid/releases/download/v0.8.0/vivid_0.8.0_amd64.deb"
sudo dpkg -i vivid_0.8.0_amd64.deb
Theme preview
To try all available themes with your current directory:
for theme in $(vivid themes); do
echo "Theme: $theme"
LS_COLORS=$(vivid generate $theme)
ls
echo
done
.bashrc
eval `dircolors ~/.dir_colors/dircolors`
alias ls='eza --icons -a'
export LS_COLORS="reset:$(vivid generate dracula)"
export EZA_COLORS="reset"