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 -