dotfiles

Obligatory dotfiles repo
git clone git://git.danielmoch.com/dotfiles.git
Log | Files | Refs

commit 9110dbcaf30b664455e3cebc45d1de9946352c15
parent 2943bf7478b1b3399cf2110c41dc8bfd2fc5dee6
Author: Daniel Moch <daniel@danielmoch.com>
Date:   Wed,  1 Jan 2020 08:00:45 -0500

lessfilter: Stop colorizing output

Diffstat:
M.lessfilter | 15+++++++++------
1 file changed, 9 insertions(+), 6 deletions(-)

diff --git a/.lessfilter b/.lessfilter @@ -2,10 +2,12 @@ if [ -d "$1" ] then - if type dircolors > /dev/null 2>&1 - then - ls -lA --color=force "$1" - else - ls -lA "$1" - fi + ls -lA "$1" + exit fi + +case "$1" in +*.tar.gz) gzip -cd $1 | tar -t ;; +*.tar.xz) xz -cd $1 | tar -t ;; +*) exit 1 ;; +esac+ \ No newline at end of file