Created
October 14, 2025 02:12
-
-
Save chrisyeung1121/ec68435f9b321f19626eadac0442d5a8 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| cat > ~/.zshrc <<'ZRC' | |
| export ZSH="$HOME/.oh-my-zsh" | |
| ZSH_THEME="agnoster" # swap to "robbyrussell" if you prefer | |
| plugins=(git zsh-autosuggestions zsh-syntax-highlighting) | |
| # History & completion | |
| setopt histignoredups sharehistory | |
| HISTSIZE=5000 | |
| SAVEHIST=5000 | |
| bindkey '^[[A' history-search-backward | |
| bindkey '^[[B' history-search-forward | |
| zstyle ':completion:*' matcher-list 'm:{a-z}={A-Za-z}' | |
| # Nice ls defaults | |
| alias ll='ls -lh --color=auto' | |
| alias la='ls -lha --color=auto' | |
| # Quality-of-life | |
| alias gs='git status' | |
| alias gp='git pull' | |
| alias dc='docker compose' | |
| alias ts='tailscale status' | |
| # Color support | |
| export TERM=xterm-256color | |
| # Load Oh My Zsh | |
| source $ZSH/oh-my-zsh.sh | |
| ZRC |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment