Permalink
Browse files

Add .lessfilter

  • Loading branch information...
tpope committed Aug 1, 2012
1 parent 1c42dc9 commit 82d642bb2639be7fc50ae8021001894fb0ebaa8b
Showing with 11 additions and 0 deletions.
  1. +11 −0 .lessfilter
View
@@ -0,0 +1,11 @@
+#!/bin/sh
+
+if [ -d "$1" ]; then
+ if [ -n "$LS_COLORS" ]; then
+ exec ls --color=force -lF "$1"
+ else
+ CLICOLOR_FORCE=1 exec ls -lF "$1"
+ fi
+fi
+
+exit 1

0 comments on commit 82d642b

Please sign in to comment.