Lesson 7 of 7 ↓
- 1.Antigravity IDE Auto-Updater Script
- 2.Automating Full System Updates (update-every-thing)
- 3.Google Meet CLI Launcher (meet)
- 4.vidtime: A Tiny CLI for Video Duration
- 5.Smart File Renaming with padnum & rename.sh
- 6.Automating Meeting Downloads and Cloud Uploads
- 7.Custom Zsh Configuration & Productivity Aliases (.zshrc)
1 min read
Custom Zsh Configuration & Productivity Aliases (.zshrc)
zshbashscriptsdotfiles
A productivity-focused .zshrc configuration featuring eza for enhanced directory listings, bat for syntax-highlighted cat, fzf for fuzzy history/file searches, starship prompt integration, and custom CLI aliases.
Configuration Source (.zshrc)
# Path to oh-my-zsh installation
export ZSH="$HOME/.oh-my-zsh"
ZSH_THEME="robbyrussell"
plugins=(
git
zsh-autosuggestions
zsh-syntax-highlighting
sudo
)
source $ZSH/oh-my-zsh.sh
# --- Aliases ---
alias ls='eza --icons'
alias ll='eza -l --icons --git'
alias la='eza -la --icons --git'
alias cat='bat --style=plain'
alias update='update-every-thing'
# --- Custom functions ---
mcd() {
mkdir -p "$1" && cd "$1"
}
# --- Starship prompt ---
eval "$(starship init zsh)"Highlights
eza: Replacement forlswith file-type icons, git status flags, and human-readable sizes.bat: Replacement forcatwith line numbers and syntax highlighting.zsh-autosuggestions&zsh-syntax-highlighting: Autocompletes commands based on terminal history.starship: Cross-shell prompt showing Git branch, language versions, and status indicators.
Comments
Loading the discussion…