This commit is contained in:
Connor Olding 2013-06-21 20:38:51 -07:00
parent c8fc1d462e
commit dceb0894b3

11
lsf.sh
View File

@ -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