aboutsummaryrefslogtreecommitdiff
path: root/bash/bashrc.d
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2014-02-05 11:16:38 +1300
committerTom Ryder <tom@sanctum.geek.nz>2014-02-05 11:16:38 +1300
commit37bf75ee2da67c32b3de99516a107a38119771eb (patch)
tree630e5fac9c4fa08e8e59a399ad89a2f619fcd491 /bash/bashrc.d
parentMove a paragraph for clarity (diff)
downloaddotfiles-37bf75ee2da67c32b3de99516a107a38119771eb.tar.gz
dotfiles-37bf75ee2da67c32b3de99516a107a38119771eb.zip
Move LSCOLORS export into profile
dircolors(1) exports its LS_COLORS var, so it's pointless reloading it on every non-login shell
Diffstat (limited to 'bash/bashrc.d')
-rw-r--r--bash/bashrc.d/ls.bash5
1 files changed, 0 insertions, 5 deletions
diff --git a/bash/bashrc.d/ls.bash b/bash/bashrc.d/ls.bash
index 2bbfa6d9..51a80d97 100644
--- a/bash/bashrc.d/ls.bash
+++ b/bash/bashrc.d/ls.bash
@@ -24,8 +24,3 @@ alias ls="ls $(lsopts)"
# Unset helper function
unset -f lsopts
-# Define and store appropriate colors for ls
-if hash dircolors 2>/dev/null; then
- eval "$(dircolors --sh)"
-fi
-