Linux/Tips

내 .bashrc

Leo 리오 2011. 11. 28. 10:48
반응형

  1.  
  2. # .bashrc
  3.  
  4. #PATHes
  5. export PATH=~/local/bin/:~/local/bin/arm-2009q3/bin:~/project/out/host/linux-x86/bin:$PATH
  6.  
  7.  
  8. # don't put duplicate lines in the history. See bash(1) for more options
  9. # ... or force ignoredups and ignorespace
  10.  HISTCONTROL=ignoredups:ignorespace
  11.  
  12.  
  13. # Source global definitions
  14. if [ -f /etc/bashrc ]then
  15.         . /etc/bashrc
  16. fi
  17.  
  18. # User specific aliases and functions
  19. #ls
  20. alias 'ls=ls --color -a '
  21. alias 'l=ls --color -a '
  22. alias 'vi=vim -c "set cin" -c"set nu"'
  23.  
  24. #cd
  25. alias 'cd....=cd ../..'
  26. alias 'cd..=cd ..'
  27.  
  28. #grep
  29. alias 'grep=grep --color=auto -n'
  30.  
  31. export LANG="en_us.UTF-8"
  32.  
  33. #PS1='[\u@\h \W]\$ '
  34. #export PS1='\[\e[4;33m\][\u@\h \W]\$\[\e[0m\] '
  35. export PS1='\[\e[0;33m\][\u@\w]\$\[\e[0m\] '
  36.  
  37.  
  38. #for developing eclipse Plugin
  39. . ~/project/build/envsetup.sh





반응형