ls: Change color scheme for other writable directory (#4494)

The ls command, uses blue color for directories. For a directory that
has write permission for others, it uses green highlighting while
displaying the directory name. However, blue text and green highlight
is difficult to read.

The patch keeps the text color as blue and changes the highlight to
yellow.

Signed-off-by: Jérôme Duval <[email protected]>
This commit is contained in:
Prasad Joshi
2012-10-21 14:53:45 +02:00
committed by Jérôme Duval
parent ed3ea3b05c
commit 3cd9a30037
3 changed files with 19 additions and 2 deletions
+17
View File
@@ -0,0 +1,17 @@
#
# colorls.sh - set up the ls color preferences.
#
# The environment variable LS_COLORS maintains colon (:) seperated list of
# color preferences to be used by ls program. This script is placed in
# /etc/profile.d/ directory that would make sure the script is executed on
# before a terminal is started. The script sets LS_COLORS environment with
# suitable color setting for Haiku terminal.
#
# Copyright 2012 Haiku, Inc. All rights reserved.
# Distributed under the terms of the MIT License.
#
# Author:
# Prasad Joshi <[email protected]>
#
eval `dircolors -b`