Skip to content

Instantly share code, notes, and snippets.

@marcelinollano
Last active July 19, 2021 11:12
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save marcelinollano/c4e94c43a965c61f70be519e60f1432d to your computer and use it in GitHub Desktop.
Save marcelinollano/c4e94c43a965c61f70be519e60f1432d to your computer and use it in GitHub Desktop.
Minimal ZSH config
# Default editor
export EDITOR="code"
# History
export HISTFILE=$HOME/.zsh_history
export HISTSIZE=1000
export SAVEHIST=1000
# Aliases
alias reload="source $HOME/.zshrc"
# Antigen
source /usr/local/share/antigen/antigen.zsh
antigen use oh-my-zsh
antigen bundle autojump
antigen bundle git-prompt
antigen bundle heroku
antigen bundle zsh-users/zsh-completions
antigen bundle zsh-users/zsh-autosuggestions
antigen bundle zsh-users/zsh-syntax-highlighting
antigen apply
# Prompt
ZSH_THEME_GIT_PROMPT_CLEAN=""
ZSH_THEME_GIT_PROMPT_DIRTY="*"
ZSH_THEME_GIT_PROMPT_PREFIX="%{$fg[yellow]%}("
ZSH_THEME_GIT_PROMPT_SUFFIX=")%{$reset_color%} "
DIR="%{$fg[blue]%}%3~%{$reset_color%}"
PROMPT='$(git_prompt_info)$DIR '
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment