Last active
January 4, 2016 15:58
-
-
Save thesabbir/8643851 to your computer and use it in GitHub Desktop.
My zsh config for OSX
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
export ZSH=$HOME/.oh-my-zsh | |
ZSH_THEME="mrtazz" | |
plugins=(git node adb django npm git-extras git-flow osx python brew history-substring-search) | |
source $ZSH/oh-my-zsh.sh | |
###################### | |
##### Lot's of #### | |
##### Aliases #### | |
###################### | |
#The Fuck | |
alias fuck='$(thefuck $(fc -ln -1))' | |
#ZSH | |
alias zrc="vim ~/.zshrc" | |
alias reload="source ~/.zshrc" | |
#Django | |
alias django="django-admin.py" | |
alias dj="python manage.py" | |
#Node Webikt Packaging | |
alias nwpack="zip -r ../${PWD##*/}.nw *" | |
#Fun | |
alias boro="sudo" | |
alias vtop="vtop --theme brew" | |
#Scheme | |
alias scheme_repl="rlwrap -r -c -f /Users/sabbir/mit_scheme_bindings.txt scheme" | |
#Clojure | |
alias clojure="lien exec" | |
#Network | |
alias ping="ping -c 5" | |
alias pserve="python -m SimpleHTTPServer 8000" | |
alias myip="dig +short myip.opendns.com @resolver1.opendns.com" | |
alias ips="ifconfig -a | perl -nle'/(\d+\.\d+\.\d+\.\d+)/ && print $1'" | |
#git-flow | |
alias gfff="git flow feature finish" | |
alias gffs="git flow feature start" | |
alias gfi="git flow init" | |
######################### | |
##Yeah I am too lazy...## | |
######################### | |
###Safe Keeping### | |
alias rm="rm -i" | |
alias cp="cp -i" | |
alias mv="mv -i" | |
######### Aliases Ends ######### | |
#RVM Shit | |
[[ -s "$HOME/.rvm/scripts/rvm" ]] && . "$HOME/.rvm/scripts/rvm" | |
#JENV | |
export JENV_ROOT=/usr/local/opt/jenv | |
eval "$(jenv init -)" | |
#####Environment##### | |
export ANDROID_HOME="/usr/local/opt/android-sdk" | |
#####NVM######## | |
export NVM_DIR=~/.nvm | |
source $(brew --prefix nvm)/nvm.sh | |
################################ | |
##### Path Configuarations ##### | |
################################ | |
export PATH="$HOME/.composer/vendor/bin" # Composer | |
export PATH="$PATH:$HOME/.rvm/bin" # Add RVM to PATH for scripting | |
export PATH="$PATH:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin" | |
source /Users/sabbir/.gulp-autocompletion-zsh/gulp-autocompletion.zsh |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment