Skip to content

Instantly share code, notes, and snippets.

@sundaycrafts
Created November 19, 2017 16:51
Show Gist options
  • Save sundaycrafts/5680e5ea50c792fd874709117d88b3e8 to your computer and use it in GitHub Desktop.
Save sundaycrafts/5680e5ea50c792fd874709117d88b3e8 to your computer and use it in GitHub Desktop.
My zsh setting
# Init Antigen https://github.com/zsh-users/antigen zsh plugin manager
source ~/.antigen.zsh
# Init Nvm https://github.com/creationix/nvm node version manager
export NVM_DIR="$HOME/.nvm"
. "/usr/local/opt/nvm/nvm.sh"
# Init Pure https://github.com/sindresorhus/pure zsh prompt
autoload -U promptinit; promptinit
prompt pure
# Init Pyenv https://github.com/pyenv/pyenv python version manager
if which pyenv > /dev/null; then eval "$(pyenv init -)"; fi
# Install zsh plugins
antigen bundle mafredri/zsh-async
antigen bundle sindresorhus/pure
antigen bundle zsh-users/zsh-syntax-highlighting
antigen bundle wbinglee/zsh-wakatime
# Set environment variable
export PATH=~/.bin:~/.local/bin:$PATH
### My settings ###
function now {
date +"%Y%m%d%H%M"
}
alias cra='create-react-app'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment