iankelling.org
/
git
/
small-misc-bash
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
13cbf28
)
apache, update docs
author
Ian Kelling
<ian@iankelling.org>
Sun, 14 Aug 2016 05:11:09 +0000
(22:11 -0700)
committer
Ian Kelling
<ian@iankelling.org>
Fri, 9 Sep 2016 21:06:17 +0000
(14:06 -0700)
ll-function
patch
|
blob
|
history
diff --git
a/ll-function
b/ll-function
index c5ff61822252e028fd9a7698aff4958419012ea9..c17ff3d36ef206bdf4ea68deef9646697c070349 100644
(file)
--- a/
ll-function
+++ b/
ll-function
@@
-22,6
+22,15
@@
# more natural date/time format for my American raised eyes
# remove first line size summary
ll() {
+ case $1 in
+ -h|--help)
+ cat <<'EOF'
+usage: ll [ARGS_TO_LS]
+
+ls -lA with enhanced output
+EOF
+ ;;
+ esac
local x y perm line binls sizePadding middle tail size \
max_hl_digits hardlinks initial_space hardlink_spacing
local max_hl_digits=0