Installation
sh -c "$(curl -fsSL https://raw.github.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"
Theme
powerlevel10k
Plugins
Oh My Zsh Plugins
Plugin Manager
.zshrc
if [[ -r "${XDG_CACHE_HOME:-$HOME/.cache}/p10k-instant-prompt-${(%):-%n}.zsh" ]]; then
source "${XDG_CACHE_HOME:-$HOME/.cache}/p10k-instant-prompt-${(%):-%n}.zsh"
fi
[[ ! -f ~/.p10k.zsh ]] || source ~/.p10k.zsh
source /opt/homebrew/share/antigen/antigen.zsh
source $HOMEBREW_PREFIX/opt/chruby/share/chruby/chruby.sh
antigen use oh-my-zsh
antigen bundle colored-man-pages
antigen bundle extract
antigen bundle history
antigen bundle z
antigen bundle git
antigen bundle npm
antigen bundle gem
antigen bundle python
antigen bundle brew
antigen bundle osx
antigen bundle pod
antigen bundle zsh-users/zsh-syntax-highlighting
antigen bundle zsh-users/zsh-autosuggestions
antigen bundle zsh-users/zsh-completions
antigen theme romkatv/powerlevel10k
antigen apply
alias ls='ls -hFG'
alias tree='tree -C -I node_modules'
alias l='exa -aghlF --git --icons'
alias ltree='exa -ghlFT --git -I=node_modules'
alias ncdu="ncdu --color dark -r -x"
alias ncdu-exclude="ncdu --color dark -r -x --exclude .git --exclude node_modules"
alias sml='rlwrap sml'
export PATH=/usr/local/smlnj/bin:"$PATH"