Browse Source

fixed spacing

master
Mario Alegre 5 years ago
parent
commit
4423c5203b
  1. 4
      shw

4
shw

@ -2,10 +2,10 @@
# if stdin is coming from a pipe, run less
if [[ ! -t 0 ]]; then
less -FX
less -FX
# if there is only one arg and it is not a directory, less it
elif [[ -z "$2" && ! -d "$1" ]]; then
less -FX "$1"
less -FX "$1"
# otherwise, run dir
else
ls -lhAF --color=auto "$@"

Loading…
Cancel
Save