One World Host: .bash_profile


/ Published in: Bash
Save to your folder(s)

Our Bash .profile script for One World Host


Copy this code and paste it in your HTML
  1. # path for mysql
  2. PATH=$PATH:/usr/local/mysql-4.0.26/bin
  3.  
  4. # the path for subversion
  5. PATH=$PATH:~/subversion/bin
  6.  
  7. # prompt
  8. export PS1="\n\h:\w \u\$ "
  9. export PS2="\n>"
  10.  
  11. # environment variables
  12. export CLICOLOR=1
  13. export EDITOR=`which pico`
  14.  
  15. # repository variables
  16. export CVSEDITOR=$EDITOR
  17. export CVS_RSH=`which ssh`
  18. export SVN_EDITOR=$EDITOR
  19.  
  20. # aliases
  21. alias l="ls -l"
  22. alias ll="ls -al"
  23. alias lf="ls -F"
  24. alias ~="cd ~"
  25. alias ..="cd .."
  26. alias reload="source ~/.bash_profile"

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.