toold more around

This commit is contained in:
Tyrel Souza 2016-02-18 22:12:25 -05:00
parent 747c8262fd
commit 804c920cda
6 changed files with 8 additions and 25 deletions

View File

@ -7,10 +7,8 @@ ln -s $(pwd)/hushlogin ~/.hushlogin
ln -s $(pwd)/vim ~/.vim ln -s $(pwd)/vim ~/.vim
ln -s $(pwd)/vimrc ~/.vimrc ln -s $(pwd)/vimrc ~/.vimrc
ln -s $(pwd)/vimrc.bundles ~/.vimrc.bundles ln -s $(pwd)/vimrc.bundles ~/.vimrc.bundles
ln -s $(pwd)/vimrc.bundles.local ~/.vimrc.bundles.local
ln -s $(pwd)/vimrc.local ~/.vimrc.local ln -s $(pwd)/vimrc.local ~/.vimrc.local
ln -s $(pwd)/zshrc ~/.zshrc ln -s $(pwd)/zshrc ~/.zshrc
ln -s $(pwd)/zshrc.local ~/.zshrc.local
# Setup vim # Setup vim
rm -rf ~/.vim/bundle/Vundle.vim rm -rf ~/.vim/bundle/Vundle.vim

View File

@ -13,8 +13,6 @@ alias nginx.logs.default.access='tail -250f /usr/local/etc/nginx/logs/default.ac
alias nginx.logs.default-ssl.access='tail -250f /usr/local/etc/nginx/logs/default-ssl.access.log' alias nginx.logs.default-ssl.access='tail -250f /usr/local/etc/nginx/logs/default-ssl.access.log'
alias nginx.logs.phpmyadmin.error='tail -250f /usr/local/etc/nginx/logs/phpmyadmin.error.log' alias nginx.logs.phpmyadmin.error='tail -250f /usr/local/etc/nginx/logs/phpmyadmin.error.log'
alias nginx.logs.phpmyadmin.access='tail -250f /usr/local/etc/nginx/logs/phpmyadmin.access.log' alias nginx.logs.phpmyadmin.access='tail -250f /usr/local/etc/nginx/logs/phpmyadmin.access.log'
alias bower='noglob bower'
alias rm=/bin/rm -i alias rm=/bin/rm -i
alias ip="ifconfig | pcregrep -M -o '^[^\t:]+:([^\n]|\n\t)*status: active'"
function gi() { curl -L -s https://www.gitignore.io/api/$@ ;} function gi() { curl -L -s https://www.gitignore.io/api/$@ ;}
function glate(){git for-each-ref --sort=-committerdate refs/heads/ --format='%(refname) %(committerdate) %(authorname)' | sed 's/refs\/heads\///g';} function glate(){git for-each-ref --sort=-committerdate refs/heads/ --format='%(refname) %(committerdate) %(authorname)' | sed 's/refs\/heads\///g';}

View File

@ -15,6 +15,7 @@
pr = !hub pull-request pr = !hub pull-request
st = status st = status
up = !git fetch origin && git rebase origin/master up = !git fetch origin && git rebase origin/master
glate = for-each-ref --sort=-committerdate refs/heads/ --format='%(refname) %(committerdate) %(authorname)'
[core] [core]
excludesfile = ~/.gitignore excludesfile = ~/.gitignore
autocrlf = input autocrlf = input

View File

@ -10,28 +10,20 @@ call vundle#begin()
Plugin 'gmarik/Vundle.vim' Plugin 'gmarik/Vundle.vim'
" Define bundles via Github repos " Define bundles via Github repos
Plugin 'christoomey/vim-run-interactive'
Plugin 'croaky/vim-colors-github' Plugin 'croaky/vim-colors-github'
Plugin 'danro/rename.vim' Plugin 'danro/rename.vim'
Plugin 'kchmck/vim-coffee-script'
Plugin 'kien/ctrlp.vim' Plugin 'kien/ctrlp.vim'
Plugin 'pbrisbin/vim-mkdir' Plugin 'pbrisbin/vim-mkdir'
Plugin 'scrooloose/syntastic' Plugin 'scrooloose/syntastic'
Plugin 'slim-template/vim-slim'
Plugin 'thoughtbot/vim-rspec'
Plugin 'tpope/vim-bundler'
Plugin 'tpope/vim-endwise'
Plugin 'tpope/vim-fugitive'
Plugin 'tpope/vim-rails'
Plugin 'tpope/vim-surround' Plugin 'tpope/vim-surround'
Plugin 'vim-ruby/vim-ruby'
Plugin 'vim-scripts/ctags.vim'
Plugin 'vim-scripts/matchit.zip'
Plugin 'vim-scripts/tComment'
Plugin 'bling/vim-airline' Plugin 'bling/vim-airline'
if filereadable(expand("~/.vimrc.bundles.local")) " do mac specific stuff
source ~/.vimrc.bundles.local if has("unix")
let s:uname = system("uname -s")
if s:uname == "Darwin"
Plugin 'rizzatti/dash.vim'
endif
endif endif
call vundle#end() call vundle#end()

View File

@ -1 +0,0 @@
Plugin 'rizzatti/dash.vim'

7
zshrc
View File

@ -5,8 +5,7 @@ plugins=(git)
source $ZSH/oh-my-zsh.sh source $ZSH/oh-my-zsh.sh
export EDITOR=vim
# User configuration Exports
export LC_ALL=C export LC_ALL=C
export LANG=en_US.UTF-8 export LANG=en_US.UTF-8
export NPM_PACKAGES="${HOME}/.npm-packages" export NPM_PACKAGES="${HOME}/.npm-packages"
@ -22,10 +21,6 @@ export PATH="$HOME/bin:$HOME/.rvm.bin:$NPM_PACKAGES/bin:$GOPATH/bin:/usr/local/b
# Sourcing aliases and functions # Sourcing aliases and functions
source ~/.bash_aliases source ~/.bash_aliases
# Unset manpath so we can inherit from /etc/manpath via the `manpath`
# command
unset MANPATH # delete if you already modified MANPATH elsewhere in your config
MANPATH="$NPM_PACKAGES/share/man:$(manpath)"
function adg { function adg {
workon addgene workon addgene