From dceb0894b35c55f750ce680f8b5e0d0919308042 Mon Sep 17 00:00:00 2001 From: Connor Olding Date: Fri, 21 Jun 2013 20:38:51 -0700 Subject: [PATCH] f that s --- lsf.sh | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) diff --git a/lsf.sh b/lsf.sh index 8cfa27c..21d4804 100755 --- a/lsf.sh +++ b/lsf.sh @@ -1,7 +1,7 @@ #!/bin/bash # ultra-fancy ultra-pointless `ls -l` alternative -# compatible with bash and zsh -# can be sourced or executed +# to be sourced by bash or zsh +# similar project: https://github.com/trapd00r/ls-- # to maintain zsh compatibility: # $() is surrounded in double quotes @@ -13,6 +13,7 @@ # TODO: set better defaults for quick glances at filesize # TODO: include sorting somehow # TODO: handle symlinks nicely +# TODO: append WHI / clr to dir names _lsf_begin(){ local begin=' @@ -169,9 +170,3 @@ lsf(){ -v"OSG=$o_showgroup" -v"OSP=$o_showallperm" -v"OSPA=$o_showpath" \ "BEGIN{$_lsf_cached}$_lsf_program" } - -case $- in - *i*) ;; - *) lsf -f -esac -