Last active
July 19, 2021 11:12
-
-
Save marcelinollano/c4e94c43a965c61f70be519e60f1432d to your computer and use it in GitHub Desktop.
Minimal ZSH config
This file contains 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
# 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