Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- export PATH=/usr/local/bin:/usr/local/mysql/bin/:/opt/local/bin:/opt/local/sbin:/opt/local/apache2/bin:/usr/local/apache2/bin:${HOME}/bin:$PATH
- export PS1='\W \$ '
- export EDITOR='vim -w'
- export SVN_EDITOR='vim -wd'
- export CDPATH=.:~:~/dev
- # ALIASES
- alias myip='ifconfig | grep "inet " | grep -v 127.0.0.1 | cut -d\ -f2'
- # BASH
- alias c='clear'
- alias l='ls -lha'
- alias hosts='$EDITOR /etc/hosts'
- alias profile='$EDITOR ~/.bash_profile'
- alias test='rake test'
- # Not sure what this is about, but I think it has to be at the bottom
- test -r /sw/bin/init.sh && . /sw/bin/init.sh
- # auto complete in cheat
- sheets=`cheat sheets | grep '^ '`
- function complete_cheat {
- COMPREPLY=()
- if [ $COMP_CWORD = 1 ]; then
- COMPREPLY=(`compgen -W "$sheets" -- $2`)
- fi
- }
- complete -F complete_cheat cheat
- complete -C ~/.bash/tab_completions/rake.rb -o default rake
- source ~/.bash_vcs
Add Comment
Please, Sign In to add comment