Posted By

nalmeida on 10/27/09


Tagged

terminal mca


Versions (?)

.bash_profile


 / Published in: Bash
 

Basic configuration of .bash_profile file.

  1. # SVN
  2. export SVN_EDITOR=vim
  3. export PATH=/opt/subversion/bin:$PATH
  4.  
  5. # Terminal Alias
  6. export LSCOLORS=gxfxcxdxbxegedabagacad #changes "folder color" to Cyan
  7. alias ls="ls -FG"
  8. alias cd..="cd .."
  9. alias ls._="find . -name '._??*'"
  10. alias rm-all="rm -rf"
  11. alias bash_profile="vim /Users/nalmeida/.bash_profile"
  12. alias killallpy="ps aux | grep python"
  13. alias tail-flash="tail -f /Users/nalmeida/Library/Preferences/Macromedia/Flash\ Player/Logs/flashlog.txt"
  14.  
  15. # SVN shortcuts
  16. alias svn-l="svn log -v"
  17. alias svn-s="svn st --ignore-externals"
  18. alias svn-up="svn up --ignore-externals"
  19. alias svn-needs-lock="svn pset svn:needs-lock '*'"
  20.  
  21. # SVN shortcuts Help
  22. alias svn-?='echo"";echo "- SVN shortcuts help -----------------";echo " svn-l (-n) = last (n) log"; echo " svn-s = SVN status ignoring externals"; echo " svn-up = SVN update ignoring externals";echo " svn-needs-lock (f)= Adds needs-lock attribute to (f) file "; echo "--------------------------------------";echo"";'

Report this snippet  

You need to login to post a comment.