Terminal configuration for Alacritty, fastfetch, Oh My Posh, tmux, and eza, styled with Tokyo Night.
- Alacritty — Tokyo Night colors, JetBrainsMono Nerd Font, transparency with blur
- fastfetch — Tokyo Night colored system info (OS, host, CPU, GPU, memory, disk, and more)
- Oh My Posh — Diamond/powerline prompt with session, path, git, Node, Docker, and AWS segments
- tmux — Status bar on top, vi copy-mode with
pbcopyon macOS, mouse support, and TPM plugins:- tpm
- vim-tmux-navigator
- tmux-resurrect
- tmux-continuum (auto-restore)
- eza — Modern
lsreplacement with icons and git status
| Path | Description | Local destination |
|---|---|---|
alacritty/alacritty.toml |
Terminal emulator config | ~/.config/alacritty/alacritty.toml |
fastfetch/config.jsonc |
System info display | ~/.config/fastfetch/config.jsonc |
oh-my-posh/theme.json |
Prompt theme | ~/.config/oh-my-posh/theme.json |
tmux/tmux.conf |
Tmux core + Tokyo Night status bar | ~/.tmux.conf |
Supported systems: macOS, Ubuntu, and Fedora.
Install all tools for your OS, then clone TPM (required by tmux.conf).
A Nerd Font is required so Alacritty, Oh My Posh, tmux, and eza icons render correctly (JetBrainsMono Nerd Font is used in alacritty.toml).
macOS:
brew install --cask font-jetbrains-mono-nerd-fontUbuntu / Fedora:
mkdir -p ~/.local/share/fonts
curl -fLo /tmp/JetBrainsMono.zip \
https://github.com/ryanoasis/nerd-fonts/releases/download/v3.3.0/JetBrainsMono.zip
unzip -o /tmp/JetBrainsMono.zip -d ~/.local/share/fonts/
fc-cache -fvbrew install alacritty eza fastfetch tmux git
brew install jandedobbeleer/oh-my-posh/oh-my-poshsudo apt update
sudo apt install -y git tmux curl unzip xclip wl-clipboard
# Alacritty (22.04+)
sudo apt install -y alacritty
# fastfetch (24.04+)
sudo apt install -y fastfetch
# eza (24.04+)
sudo apt install -y eza
# Oh My Posh
curl -s https://ohmyposh.dev/install.sh | bash -sOn older Ubuntu releases without packages in apt:
# fastfetch
curl -sL https://api.github.com/repos/fastfetch-cli/fastfetch/releases/latest \
| grep browser_download_url \
| grep linux-amd64 \
| cut -d '"' -f 4 \
| xargs curl -Lo /tmp/fastfetch.deb
sudo dpkg -i /tmp/fastfetch.deb
# eza
sudo mkdir -p /etc/apt/keyrings
curl -sS 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 apt update && sudo apt install -y eza
# Alacritty — install from official releases
curl -sL https://api.github.com/repos/alacritty/alacritty/releases/latest \
| grep browser_download_url \
| grep 'Alacritty-v.*-ubuntu.*\.deb' \
| cut -d '"' -f 4 \
| xargs curl -Lo /tmp/alacritty.deb
sudo dpkg -i /tmp/alacritty.debEnsure ~/.local/bin (or the path printed by the Oh My Posh install script) is on your PATH.
sudo dnf install -y alacritty eza fastfetch tmux git curl unzip xclip wl-clipboard
curl -s https://ohmyposh.dev/install.sh | bash -sEnsure ~/.local/bin (or the path printed by the Oh My Posh install script) is on your PATH.
git clone https://github.com/tmux-plugins/tpm ~/.tmux/plugins/tpmgit clone git@github.com:GabrielAlmeidaFlores/Term-Config.git
cd Term-ConfigFrom the repository root:
# alacritty
mkdir -p ~/.config/alacritty
ln -sf "$PWD/alacritty/alacritty.toml" ~/.config/alacritty/alacritty.toml
# fastfetch
mkdir -p ~/.config/fastfetch
ln -sf "$PWD/fastfetch/config.jsonc" ~/.config/fastfetch/config.jsonc
# oh-my-posh
mkdir -p ~/.config/oh-my-posh
ln -sf "$PWD/oh-my-posh/theme.json" ~/.config/oh-my-posh/theme.json
# tmux
ln -sf "$PWD/tmux/tmux.conf" ~/.tmux.confzsh (~/.zshrc):
eval "$(oh-my-posh init zsh --config ~/.config/oh-my-posh/theme.json)"bash (~/.bashrc):
eval "$(oh-my-posh init bash --config ~/.config/oh-my-posh/theme.json)"Reload the shell:
exec "$SHELL"Install eza first (see Prerequisites for macOS, Ubuntu, or Fedora).
Add these aliases to your shell config (~/.zshrc or ~/.bashrc):
# Aliases para eza
alias ls='eza --icons --group-directories-first'
alias ll='eza -lh --icons --git --group-directories-first'
alias la='eza -lah --icons --git --group-directories-first'
alias tree='eza --tree --icons'Reload the shell:
exec "$SHELL"tmux source-file ~/.tmux.confInside tmux, press prefix + I (capital i) to install TPM plugins.
Default tmux prefix is Ctrl-b.
# Avoid running again inside every new tmux pane
if [[ -z "$FASTFETCH_HAS_RUN" ]]; then
fastfetch
export FASTFETCH_HAS_RUN=1
fialacritty --version
fastfetch
oh-my-posh --version
tmux -V
eza --version
lstmux.confusespbcopyfor vi-mode yank on macOS. On Ubuntu/Fedora, replace that binding withxcliporwl-copy(both are listed in the Linux prerequisites).- Continuum restore is enabled (
@continuum-restore on). Sessions are restored automatically when tmux starts. - Theme colors follow Tokyo Night (
#7aa2f7,#3b4261,#15161e,#c0caf5).
Personal configuration. Use and adapt as you like.