]> git.ipfire.org Git - people/teissler/ipfire-2.x.git/blobdiff - config/profile.d/dircolors.sh
Bashpromt erweitert und FTP Upload wieder funktionierend gemacht...
[people/teissler/ipfire-2.x.git] / config / profile.d / dircolors.sh
diff --git a/config/profile.d/dircolors.sh b/config/profile.d/dircolors.sh
new file mode 100644 (file)
index 0000000..873d91b
--- /dev/null
@@ -0,0 +1,9 @@
+# Setup for /bin/ls to support color, the alias is in /etc/bashrc.
+if [ -f "/etc/dircolors" ] ; then
+        eval $(dircolors -b /etc/dircolors)
+
+        if [ -f "$HOME/.dircolors" ] ; then
+                eval $(dircolors -b $HOME/.dircolors)
+        fi
+fi
+alias ls='ls --color=auto'