Cleaning up zshrc
This commit is contained in:
parent
d01e25cfd8
commit
cb76187b89
1 changed files with 2 additions and 14 deletions
16
zshrc
16
zshrc
|
|
@ -1,36 +1,26 @@
|
||||||
# Start tmux... just trying it out
|
|
||||||
# if [ "$TMUX" = "" ]; then tmux; fi
|
|
||||||
|
|
||||||
# Powerline
|
# Powerline
|
||||||
# Mac
|
# Mac
|
||||||
[[ -s /usr/local/lib/python2.7/site-packages/powerline/bindings/zsh/powerline.zsh ]] && . /usr/local/lib/python2.7/site-packages/powerline/bindings/zsh/powerline.zsh
|
[[ -s /usr/local/lib/python2.7/site-packages/powerline/bindings/zsh/powerline.zsh ]] && . /usr/local/lib/python2.7/site-packages/powerline/bindings/zsh/powerline.zsh
|
||||||
# Linux
|
# Linux
|
||||||
[[ -s /usr/share/zsh/site-contrib/powerline.zsh ]] && . /usr/share/zsh/site-contrib/powerline.zsh
|
[[ -s /usr/share/zsh/site-contrib/powerline.zsh ]] && . /usr/share/zsh/site-contrib/powerline.zsh
|
||||||
|
|
||||||
# Tmuxinator
|
|
||||||
[[ -s $HOME/.tmuxinator/scripts/tmuxinator ]] && source $HOME/.tmuxinator/scripts/tmuxinator
|
|
||||||
|
|
||||||
alias vi=vim
|
alias vi=vim
|
||||||
alias tmux="tmux -2"
|
alias tmux="tmux -2"
|
||||||
export EDITOR=vim
|
export EDITOR=vim
|
||||||
export BROWSER=open
|
export BROWSER=open
|
||||||
[[ -s luakit ]] && export BROWSER=luakit
|
[[ -s luakit ]] && export BROWSER=luakit
|
||||||
|
|
||||||
# VCS stuff
|
# IOCOM stuff
|
||||||
export P4USER=dswan
|
export P4USER=dswan
|
||||||
export P4PORT="humu.insors.net:1666"
|
export P4PORT="humu.insors.net:1666"
|
||||||
export P4CONFIG=p4.cfg
|
export P4CONFIG=p4.cfg
|
||||||
export P4EDITOR=vim
|
export P4EDITOR=vim
|
||||||
export SVN_EDITOR=vim
|
|
||||||
|
|
||||||
# IOCOM stuff
|
|
||||||
# sync visidev to latest Perforce
|
|
||||||
alias visidev="ssh root@visidev.iocom.com 'cd /; p4 sync'"
|
alias visidev="ssh root@visidev.iocom.com 'cd /; p4 sync'"
|
||||||
alias dswan="ssh root@dswan.insors.net"
|
alias dswan="ssh root@dswan.insors.net"
|
||||||
alias webdev='ssh -t root@webdev.insors.net "cd /var/www/html; /bin/bash -i"'
|
alias webdev='ssh -t root@webdev.insors.net "cd /var/www/html; /bin/bash -i"'
|
||||||
alias sprites="pushd ~/smartsprites; ./smartsprites.sh --root-dir-path /opt/iocom/user/webclient/; popd; p4 edit /opt/iocom/user/webclient/css/iocom-sprite.css"
|
alias sprites="pushd ~/smartsprites; ./smartsprites.sh --root-dir-path /opt/iocom/user/webclient/; popd; p4 edit /opt/iocom/user/webclient/css/iocom-sprite.css"
|
||||||
|
|
||||||
alias browse='luakit' # TODO open on mac
|
alias browse='luakit' # TODO open on mac
|
||||||
#export TERM="xterm-256color"
|
|
||||||
|
|
||||||
export PATH=/usr/local/bin:/usr/local/sbin:$PATH # Homebrew
|
export PATH=/usr/local/bin:/usr/local/sbin:$PATH # Homebrew
|
||||||
export PATH=/Applications/Postgres.app/Contents/MacOS/bin:$PATH # Postgres
|
export PATH=/Applications/Postgres.app/Contents/MacOS/bin:$PATH # Postgres
|
||||||
|
|
@ -39,5 +29,3 @@ export PATH=$HOME/Library/Haskell/bin:$PATH # Haskell
|
||||||
export PATH=$HOME/dotfiles/bin:$PATH # Dotfiles bin
|
export PATH=$HOME/dotfiles/bin:$PATH # Dotfiles bin
|
||||||
export PATH=$HOME/.rbenv/bin:$PATH # rbenv
|
export PATH=$HOME/.rbenv/bin:$PATH # rbenv
|
||||||
eval "$(rbenv init -)"
|
eval "$(rbenv init -)"
|
||||||
|
|
||||||
export PYTHONPATH=/usr/lib/python3.3/site-packages
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue