bashrc 546 B

12345678910111213141516171819202122
  1. #
  2. # ~/.bashrc
  3. #
  4. # If not running interactively, don't do anything
  5. [[ $- != *i* ]] && return
  6. # Colors
  7. if [ -x /usr/bin/dircolors ]; then
  8. test -r ~/.dircolors && eval "$(dircolors -b ~/.dircolors)" || eval "$(dircolors -b)"
  9. alias ls='ls --color=auto'
  10. alias dir='dir --color=auto'
  11. alias vdir='vdir --color=auto'
  12. alias grep='grep --color=auto'
  13. alias fgrep='fgrep --color=auto'
  14. alias egrep='egrep --color=auto'
  15. fi
  16. alias rm='rm -i'
  17. alias vim='nvim'
  18. PS1='\[\033[01;32m\]\u@\h\[\033[00m\] \[\033[01;34m\]\w\[\033[00m\]> '