Skip to content

Instantly share code, notes, and snippets.

@vinzdef
Created May 7, 2015 07:43
Show Gist options
  • Save vinzdef/de6cb2da08c85ba72c6f to your computer and use it in GitHub Desktop.
Save vinzdef/de6cb2da08c85ba72c6f to your computer and use it in GitHub Desktop.
My RC
###/ CONFIG
HISTFILE=~/.histfile
HISTSIZE=1000
SAVEHIST=1000
# End of lines configured by zsh-newuser-install
# The following lines were added by compinstall
zstyle :compinstall filename '/home/ghzmdr/.zshrc'
autoload -Uz compinit
compinit
export EDITOR=nano
#/###
###/ ALIASES
alias serve='sudo systemctl restart'
alias ed=subl3
alias cl=clear
#/##
###/ NETWORK UTILS
alias gimmeip='dig +short myip.opendns.com @resolver1.opendns.com'
alias forwardip='echo 1 > /proc/sys/net/ipv4/ip_forward'
export IP_RX="[0-9]\{1,3\}\.[0-9]\{1,3\}\.[0-9]\{1,3\}\.[0-9]\{1,3\}"
export MAC_RX="[a-z0-9]\{2\}\:[a-z0-9]\{2\}\:[a-z0-9]\{2\}\:[a-z0-9]\{2\}\:[a-z0-9]\{2\}\:[a-z0-9]\{2\}"
#/##
###/ PATH
export PATH=/home/ghzmdr/Software/MongoDB/bin/:$PATH
export PATH=/home/ghzmdr/.gem/ruby/2.2.0/bin:$PATH
export PATH=/home/ghzmdr/.android-sdk/sdk/platform-tools/:$PATH
export PATH=/home/ghzmdr/.android-sdk/sdk/tools/:$PATH
export PATH=/home/ghzmdr/bin/:$PATH
export PATH=/usr/local/heroku/bin:$PATH
#/##
###/ OH MY ZSH
source /usr/share/zsh/scripts/antigen/antigen.zsh
antigen use oh-my-zsh
# PLUGINS
antigen bundle git
antigen bundle archlinux
antigen bundle command-not-found
antigen bundle zsh-users/zsh-syntax-highlighting
antigen bundle z
antigen bundle cp
antigen bundle archlinux
antigen bundle sublime
antigen bundle tmux
antigen bundle tmuxinator
antigen bundle web-search
# THEME
#antigen theme mortalscumbag
antigen theme ys
#/##
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment