From 2c66e47051eb99d4d62f3f38eebc9fc770164445 Mon Sep 17 00:00:00 2001 From: Bachir Soussi-Chiadmi Date: Mon, 5 Jan 2015 21:58:14 +0100 Subject: [PATCH] Update shell added colors to ls like debian suggestion --- .bash/shell | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/.bash/shell b/.bash/shell index 91a7e08..02e6b51 100644 --- a/.bash/shell +++ b/.bash/shell @@ -1,4 +1,15 @@ #!/bin/bash +# You may uncomment the following lines if you want `ls' to be colorized: +export LS_OPTIONS='--color=auto' +eval "`dircolors`" +alias ls='ls $LS_OPTIONS' +alias ll='ls $LS_OPTIONS -l' +alias l='ls $LS_OPTIONS -lA' + +# Some more alias to avoid making mistakes: +alias rm='rm -i' +alias cp='cp -i' +alias mv='mv -i' # General settings export EDITOR=vim