diff options
author | Thierry N <thierryn1 at hispeed dot ch> | 2009-08-07 13:26:37 +0200 |
---|---|---|
committer | Thierry N <thierryn1 at hispeed dot ch> | 2009-08-07 13:26:37 +0200 |
commit | 31cae2538311f58c8bba5441313d041436f11ce6 (patch) | |
tree | cc1fef0aaed8a6affc57b8abff2f8cf7690bb6c1 /base/aaabasicfs/dircolors.sh | |
download | nutyx-pakxe-31cae2538311f58c8bba5441313d041436f11ce6.tar.gz nutyx-pakxe-31cae2538311f58c8bba5441313d041436f11ce6.tar.bz2 nutyx-pakxe-31cae2538311f58c8bba5441313d041436f11ce6.tar.xz nutyx-pakxe-31cae2538311f58c8bba5441313d041436f11ce6.zip |
Ajout de aaabasicfs#2009-1
Diffstat (limited to 'base/aaabasicfs/dircolors.sh')
-rw-r--r-- | base/aaabasicfs/dircolors.sh | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/base/aaabasicfs/dircolors.sh b/base/aaabasicfs/dircolors.sh new file mode 100644 index 000000000..873d91b9b --- /dev/null +++ b/base/aaabasicfs/dircolors.sh @@ -0,0 +1,9 @@ +# Setup for /bin/ls to support color, the alias is in /etc/bashrc. +if [ -f "/etc/dircolors" ] ; then + eval $(dircolors -b /etc/dircolors) + + if [ -f "$HOME/.dircolors" ] ; then + eval $(dircolors -b $HOME/.dircolors) + fi +fi +alias ls='ls --color=auto' |