f that s
This commit is contained in:
parent
c8fc1d462e
commit
dceb0894b3
1 changed files with 3 additions and 8 deletions
11
lsf.sh
11
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
|
||||
|
||||
|
|
Loading…
Reference in a new issue