Skip to content

Commit

Permalink
Add .lessfilter
Browse files Browse the repository at this point in the history
  • Loading branch information
tpope committed Aug 1, 2012
1 parent 1c42dc9 commit 82d642b
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions .lessfilter
@@ -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.