From e8a69cb9df34dfc1bb373dfc0a92697b2f336222 Mon Sep 17 00:00:00 2001 From: Christopher Roy Bratusek Date: Wed, 7 Feb 2018 21:21:09 +0100 Subject: [PATCH] colored ls --- ChangeLog.md | 1 + Full/system/etc/bashrc | 1 + 2 files changed, 2 insertions(+) diff --git a/ChangeLog.md b/ChangeLog.md index 0ec6b6f..29b9916 100644 --- a/ChangeLog.md +++ b/ChangeLog.md @@ -18,6 +18,7 @@ * only clear and resize the buffer on start for interactive GNU Bash sessions * nicer ${PS1} for interactive GNU Bash sessions * ensure GNU Bash uses our version of the less pager, even if busybox' version is installed + * make ls use colors, if possible when in GNU Bash * Updates (automatic) * XDA Labs (1.1.4b) * (Simple) Calendar (3.2.4) diff --git a/Full/system/etc/bashrc b/Full/system/etc/bashrc index 88c194d..4bf7b08 100644 --- a/Full/system/etc/bashrc +++ b/Full/system/etc/bashrc @@ -17,6 +17,7 @@ shopt -s checkwinsize shopt -s histappend alias su="su --shell ${SHELL}" +alias ls="ls --color=auto" red="\[\033[01;38;5;1m\]" gre="\[\033[01;38;5;2m\]"