Advertisement
Guest User

bAndie91

a guest
Oct 29th, 2009
403
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.46 KB | None | 0 0
  1. #!/bin/bash
  2.  
  3. eval $(echo "no:global default;fi:normal file;di:directory;ln:symbolic link;pi:named pipe;so:socket;do:door;bd:block device;cd:character device;or:orphan symlink;mi:missing file;su:set uid;sg:set gid;tw:sticky other writable;ow:other writable;st:sticky;ex:executable;"|sed -e 's/:/="/g; s/\;/"\n/g')
  4. {
  5.   IFS=:
  6.   for i in $LS_COLORS
  7.   do
  8.     echo -e "\e[${i#*=}m$( x=${i%=*}; [ "${!x}" ] && echo "${!x}" || echo "$x" )\e[m"
  9.   done
  10. } #| column
  11.  
  12.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement