Skip to content

🧼 Minimalist and efficient macOS terminal configuration with zsh

License

Notifications You must be signed in to change notification settings

benjaminbuzek/set-up-terminal

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

set-up-terminal

This repository provides a setup guide for my minimalist and efficient macOS terminal environment, tailored for daily use.

Screenshot

📦 Dependencies / Requirements

⚙️ Configure iTerm2

You can install iTerm2 with brew.

brew install --cask iterm2

Under Settings > Appearance > Windows check Show window number in title bar.

Under Settings > Appearance > General > Theme change the theme to Minimal.

Under Settings > Advanced set the field "In the Minimal theme, how prominent should the tab outline be?" to 0.

Under Settings > Profiles > Text change the font to SF Mono and use size 13.

Install the Theme.

(curl -Ls https://raw.githubusercontent.com/benjaminbuzek/set-up-terminal/main/set-up-terminal-minimal.itermcolors > /tmp/set-up-terminal-minimal.itermcolors && open /tmp/set-up-terminal-minimal.itermcolors)

More themes can be found at https://iterm2colorschemes.com/. To use the following command with your chosen theme, simply replace the link.

⚙️ Configure zsh

Install the Oh My Zsh framework.

sh -c "$(curl -fsSL https://raw.github.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"

Install zplug for managing zsh plugins.

brew install zplug

Configure your ~/.zshrc file.

# ~/.zshrc configuration

# Set env variables
export ZSH=~/.oh-my-zsh
export ZPLUG_HOME=/usr/local/opt/zplug

# Disable zsh themes
ZSH_THEME=""

# Load files
source $ZSH/oh-my-zsh.sh
source $ZPLUG_HOME/init.zsh

# Install zplug plugins
zplug "mafredri/zsh-async", from:github
zplug "sindresorhus/pure", use:pure.zsh, from:github, as:theme
zplug "zdharma/fast-syntax-highlighting", as:plugin, defer:2
zplug "zsh-users/zsh-autosuggestions", as:plugin, defer:2
zplug load

# Install plugins if there are plugins that are not installed.
if ! zplug check --verbose; then
    printf "Install? [y/N]: "
    if read -q; then
        echo; zplug install
    fi
fi

Reload your ~/.zshrc configuration.

source ~/.zshrc

About

🧼 Minimalist and efficient macOS terminal configuration with zsh

Topics

Resources

License

Stars

Watchers

Forks