Skip to content

Instantly share code, notes, and snippets.

@pa5aribu
Created December 14, 2017 13:27
Show Gist options
  • Select an option

  • Save pa5aribu/f464a6e145944d754310f340721f0fdb to your computer and use it in GitHub Desktop.

Select an option

Save pa5aribu/f464a6e145944d754310f340721f0fdb to your computer and use it in GitHub Desktop.
# If you come from bash you might have to change your $PATH.
export PATH=$HOME/bin:/usr/local/bin:$PATH
# Path to your oh-my-zsh installation.
export ZSH=/Users/balapa/.oh-my-zsh
export LANG=C
# Set name of the theme to load. Optionally, if you set this to "random"
# it"ll load a random theme each time that oh-my-zsh is loaded.
# See https://github.com/robbyrussell/oh-my-zsh/wiki/Themes
ZSH_THEME=""
# Which plugins would you like to load? (plugins can be found in ~/.oh-my-zsh/plugins/*)
# Custom plugins may be added to ~/.oh-my-zsh/custom/plugins/
# Example format: plugins=(rails git textmate ruby lighthouse)
# Add wisely, as too many plugins slow down shell startup.
plugins=(
git
zsh-syntax-highlighting
)
source $ZSH/oh-my-zsh.sh
# pure theme
autoload -U promptinit; promptinit
PURE_PROMPT_SYMBOL="$"
prompt pure
# pure is one line
prompt_newline='%666v'
PROMPT=" $PROMPT"
# ALIASES
# vim open folder
alias v="vim ."
# nvim open folder
alias nv="nvim ."
# sublime
alias subl="/Applications/Sublime\ Text.app/Contents/SharedSupport/bin/subl"
# git
alias gs="git status"
alias gpom="git push origin master"
# vim
alias vimrc="nvim ~/.vimrc"
alias zshrc="nvim ~/.zshrc"
# projects
alias jirapp="cd ~/Documents/Icreon/jirapp-project/jirapp-source"
alias os="cd ~/Documents/Open\ Source/"
alias icr="cd ~/Documents/Icreon/"
alias icrus="cd ~/Documents/Icreon/icreonus-new/icreonus-source"
# uiplease
alias uip="cd ~/Documents/uiplease-project/uiplease"
alias lh="open http://localhost:1313"
# hugo
alias hs="hugo server"
alias push="git push origin master"
alias sass="npm run sass"
# david zwirner
alias zwirner="cd ~/Documents/Icreon/davidzwirner-root-wp/davidzwirner"
alias dzc="cd ~/Documents/Icreon/davidzwirner-chinese"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment