www-data bashrc update

This commit is contained in:
VirtuBox 2018-07-13 00:25:48 +02:00
parent 24c46509ae
commit fb6d29106f
1 changed files with 13 additions and 0 deletions

View File

@ -55,3 +55,16 @@ if ! shopt -oq posix; then
. /etc/bash_completion
fi
fi
# enable color support of ls and also add handy aliases
if [ -x /usr/bin/dircolors ]; then
test -r ~/.dircolors && eval "$(dircolors -b ~/.dircolors)" || eval "$(dircolors -b)"
alias ls='ls --color=auto'
#alias dir='dir --color=auto'
#alias vdir='vdir --color=auto'
alias grep='grep --color=auto'
alias fgrep='fgrep --color=auto'
alias egrep='egrep --color=auto'
fi