Skip to content

Instantly share code, notes, and snippets.

@jonvuri
Created December 27, 2018 16:00
Show Gist options
  • Save jonvuri/72a1ff03ef54f824a2779044c60792b5 to your computer and use it in GitHub Desktop.
Save jonvuri/72a1ff03ef54f824a2779044c60792b5 to your computer and use it in GitHub Desktop.
# Lines configured by zsh-newuser-install
HISTFILE=~/.histfile
HISTSIZE=10000
SAVEHIST=10000
setopt autocd
bindkey -e
# End of lines configured by zsh-newuser-install
# The following lines were added by compinstall
zstyle :compinstall filename '/Users/jrajav/.zshrc'
autoload -Uz compinit
compinit
# End of lines added by compinstall
# Pure prompt
autoload -U promptinit; promptinit
PURE_PROMPT_SYMBOL=枩
prompt pure
# Aliases
alias y='yarn run'
.
export NVM_DIR="$HOME/.nvm"
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm
[ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion" # This loads nvm bash_completion
# Git aliases
spell () {
echo -e "\n\e[1m\e[96m$1\e[0m\e[36m $2\e[0m \e[106m\e[30m$3\e[0m $4\n"
}
alias gj='spell "重" "juu" "GRAVIJA" "git add ."; git add .'
alias di='spell "主" "shu" "DEMI" "git add"; git add'
alias cy='spell "晶" "shou" "CRYSTALLIZE" "git commit -m"; git commit -m'
alias ek='spell "召" "mesu" "EVOKE" "git fetch"; git fetch'
alias fo='spell "流" "ryuu" "FLOW" "git pull"; git pull'
alias hs='spell "空" "kuu" "HOLLOW SKY" "git push"; git push'
alias wp='spell "縮" "shuku" "WARP" "git checkout"; git checkout'
alias rl='spell "映" "ei" "REFLECT" "git checkout -b"; git checkout -b'
alias me='spell "融" "touru" "MELD" "git merge"; git merge'
alias sn='spell "目" "me" "SCAN" "git status"; git status'
alias gl='spell "知" "chi" "GLOAMING" "cat ~/.zshrc"; cat ~/.zshrc'
. /usr/local/anaconda3/etc/profile.d/conda.sh
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment