haiku/data/etc/profile.d/colorls.sh
Prasad Joshi 3cd9a30037 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 <jerome.duval@gmail.com>
2012-10-21 14:53:45 +02:00

18 lines
577 B
Bash

#
# 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 <prasadjoshi.linux@gmail.com>
#
eval `dircolors -b`