[Trisquel-devel] Rev 12: - Honor user prefs. in file:///home/bzr/trisquel-packages/

Santiago Rodríguez santi at trisquel.info
Thu Dec 8 16:08:05 CET 2011


At file:///home/bzr/trisquel-packages/

------------------------------------------------------------
revno: 12
revision-id: santi at trisquel.info-20111208151020-813z77yig2m6jpdv
parent: ruben at trisquel.info-20111109013116-wsscq4zij49vvbnh
committer: Santiago Rodríguez <santi at trisquel.info>
branch nick: trisquel-packages
timestamp: Thu 2011-12-08 16:10:20 +0100
message:
  - Honor user prefs. 
  # Closes http://trisquel.info/es/issues/4297
-------------- next part --------------
=== modified file '5.0/trisquel-base-data/data/etc/bash_completion.d/aliases'
--- a/5.0/trisquel-base-data/data/etc/bash_completion.d/aliases	2011-07-30 15:52:07 +0000
+++ b/5.0/trisquel-base-data/data/etc/bash_completion.d/aliases	2011-12-08 15:10:20 +0000
@@ -4,7 +4,8 @@
 
 # enable color support of ls and also add handy aliases
 if [ "$TERM" != "dumb" ] && [ -x /usr/bin/dircolors ]; then
-    eval "`dircolors -b`"
+    #Honor user prefs. Closes #4297 
+    test -r ~/.dircolors && eval "$(dircolors -b ~/.dircolors)" || eval "$(dircolors -b)"
     alias ls='ls --color=auto'
     alias ll='ls -lh'
     alias la='ls -A'



More information about the Trisquel-devel mailing list