]> git.wh0rd.org - home.git/blobdiff - .bashrc
nanorc: drop old const setting
[home.git] / .bashrc
diff --git a/.bashrc b/.bashrc
index 02b3fbbcd046f838bad802f46d2964eb2c476604..7ae9b50a83ee3943c46d1c675d5b57e474fbf6ff 100644 (file)
--- a/.bashrc
+++ b/.bashrc
@@ -23,8 +23,9 @@ export LESSCOLOR=0
 unset LDPATH # KDE bs
 
 shopt -s checkwinsize
+shopt -s no_empty_cmd_completion
 
-eval `dircolors 2>/dev/null`
+[ "${LS_COLORS:+set}" = "set" ] || eval "$(dircolors 2>/dev/null)"
 
 [ -r /usr/local/src/blackfin/bin/bfin-alias ] && . /usr/local/src/blackfin/bin/bfin-alias
 [ -r /usr/local/src/blackfin/git/toolchain/distribution/snapshots/bfin-alias ] && . /usr/local/src/blackfin/git/toolchain/distribution/snapshots/bfin-alias