set HISTCONTROL in root's bashrc. Only set stuff when running interactively
[mirror/dsa-puppet.git] / modules / debian-org / files / root-dotfiles / bashrc
1 # ~/.bashrc: executed by bash(1) for non-login shells.
2
3 ## THIS FILE IS UNDER PUPPET CONTROL.
4 ## LOCAL CHANGES WILL BE OVERWRITTEN.
5
6 if [ "$PS1" ]; then
7   typeset HISTCONTROL=ignoreboth
8
9   export LS_OPTIONS='--color=auto'
10   eval "`dircolors`"
11   alias ls='ls $LS_OPTIONS'
12   alias ll='ls $LS_OPTIONS -l'
13   alias l='ls $LS_OPTIONS -lA'
14 fi
15
16 # vim: set ft=sh ts=2 sw=2 et ai si: