ref(func/lsl)
This commit is contained in:
parent
32bf69ccec
commit
05f4b25d2a
@ -2,10 +2,10 @@
|
|||||||
lsl () {
|
lsl () {
|
||||||
|
|
||||||
local DIR
|
local DIR
|
||||||
DIR="$*"
|
DIR="$1"
|
||||||
|
|
||||||
if [ $# -lt 1 ]; then
|
if [ -z "$1" ]; then
|
||||||
DIR="$PWD"
|
DIR="$(pwd)"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
ls -lhFA --color=always "${DIR}" | less -R
|
ls -lhFA --color=always "${DIR}" | less -R
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user