Created
November 19, 2017 16:51
-
-
Save sundaycrafts/5680e5ea50c792fd874709117d88b3e8 to your computer and use it in GitHub Desktop.
My zsh setting
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
# 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