Skip to content

Instantly share code, notes, and snippets.

@davidcp90
Last active August 29, 2015 14:01
Show Gist options
  • Save davidcp90/15d6f4c2a00070d3e2d5 to your computer and use it in GitHub Desktop.
Save davidcp90/15d6f4c2a00070d3e2d5 to your computer and use it in GitHub Desktop.
complete zshrc
# Path to your oh-my-zsh installation.
export ZSH=$HOME/.oh-my-zsh
# Set name of the theme to load.
# Look in ~/.oh-my-zsh/themes/
# Optionally, if you set this to "random", it'll load a random theme each
# time that oh-my-zsh is loaded.
ZSH_THEME="miloshadzic"
# Example aliases
# alias zshconfig="mate ~/.zshrc"
# alias ohmyzsh="mate ~/.oh-my-zsh"
# Uncomment the following line to use case-sensitive completion.
# CASE_SENSITIVE="true"
# Uncomment the following line to disable bi-weekly auto-update checks.
# DISABLE_AUTO_UPDATE="true"
# Uncomment the following line to change how often to auto-update (in days).
# export UPDATE_ZSH_DAYS=13
# Uncomment the following line to disable colors in ls.
# DISABLE_LS_COLORS="true"
# Uncomment the following line to disable auto-setting terminal title.
# DISABLE_AUTO_TITLE="true"
# Uncomment the following line to disable command auto-correction.
# DISABLE_CORRECTION="true"
# Uncomment the following line to display red dots whilst waiting for completion.
# COMPLETION_WAITING_DOTS="true"
# Uncomment the following line if you want to disable marking untracked files
# under VCS as dirty. This makes repository status check for large repositories
# much, much faster.
# DISABLE_UNTRACKED_FILES_DIRTY="true"
# Uncomment the following line if you want to change the command execution time
# stamp shown in the history command output.
# The optional three formats: "mm/dd/yyyy"|"dd.mm.yyyy"|"yyyy-mm-dd"
# HIST_STAMPS="mm/dd/yyyy"
# Would you like to use another custom folder than $ZSH/custom?
# ZSH_CUSTOM=/path/to/new-custom-folder
# 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)
plugins=(git jira sublime)
source $ZSH/oh-my-zsh.sh
# User configuration
export PATH="/usr/lib/lightdm/lightdm:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games"
# export MANPATH="/usr/local/man:$MANPATH"
# You may need to manually set your language environment
# export LANG=en_US.UTF-8
# Preferred editor for local and remote sessions
# if [[ -n $SSH_CONNECTION ]]; then
# export EDITOR='vim'
# else
# export EDITOR='mvim'
# fi
# Compilation flags
# export ARCHFLAGS="-arch x86_64"
# ssh
# export SSH_KEY_PATH="~/.ssh/dsa_id"
PATH=$PATH:$HOME/.rvm/bin # Add RVM to PATH for scripting
alias gitre="git reset -- hard HEAD"
alias inituto="workon tutorya;cdvirtualenv;cd tutoryaweb"
alias grututo="inituto;grunt watch"
alias sertuto="inituto;./manage.py runserver 0.0.0.0:8010 --settings=tutorya.local_settings "
alias instalar="sudo apt-get install"
alias actualizar="sudo apt-get update"
alias proxyud='export http_proxy="http://proxy.udistrital.edu.co:3128"'
alias udproxy='export https_proxy="http://proxy.udistrital.edu.co:3128"'
alias gita="git add ."
alias gitpl="git pull origin master"
alias gitps="git push origin master"
alias gitc="git commit -a -m"
alias apre="sudo /etc/init.d/apache2 restart"
alias aprl="sudo /etc/init.d/apache2 reload"
alias apst="sudo /etc/init.d/apache2 start"
alias pj="cd /media/boson/projects"
alias gitfp="git ftp push"
alias gits="git status"
alias matlab="cd /usr/local/MATLAB/R2014a/bin; ./matlab"
alias gitback="git reset --hard HEAD~1"
alias runcel="./manage.py celery worker --loglevel=debug -E"
alias gitch="git checkout"
alias gitfu="git config git-ftp.user"
alias gitfp="git config git-ftp.password"
alias gitfurl="git config git-ftp.url"
alias htmlserver="python -m SimpleHTTPServer"
alias typrod="mosh tutorya@tutorya.com"
alias tytest="mosh tutorya@li314-85.members.linode.com"
alias runcel="./manage.py celery worker --loglevel=debug -E"
alias migrar="./manage.py migrate"
alias lamigra="./manage.py schemamigration"
alias runfab="tutorya_fab/bin/fab -f fabfile.py"
export WORKON_HOME=~/virtualenvs
source /usr/local/bin/virtualenvwrapper.sh
export PIP_VIRTUALENV_BASE=~/virtualenvs
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment