bashrc.root 705 B

123456789101112131415161718192021222324
  1. # ~/.bashrc: executed by bash(1) for non-login shells.
  2. # Note: PS1 and umask are already set in /etc/profile. You should not
  3. # need this unless you want different defaults for root.
  4. fqdn="{{ grains['id'] }}"
  5. PS1='${debian_chroot:+($debian_chroot)}${fqdn}:\w\$ '
  6. # umask 022
  7. # You may uncomment the following lines if you want `ls' to be colorized:
  8. export LS_OPTIONS='--color=auto'
  9. eval "`dircolors`"
  10. alias ls='ls $LS_OPTIONS'
  11. alias ll='ls $LS_OPTIONS -l'
  12. alias l='ls $LS_OPTIONS -lA'
  13. # Increase history size and make sure the history is always appended
  14. HISTSIZE=1000
  15. HISTFILESIZE=2000
  16. shopt -s histappend
  17. # Load any aliases which might be present
  18. if [ -f ~/.bash_aliases ]; then
  19. . ~/.bash_aliases
  20. fi