bin/ll1 @ a20cd97bae84

More
author Steve Losh <steve@stevelosh.com>
date Wed, 12 Feb 2020 23:10:37 -0500
parents dcbf704290a1
children (none)
#!/usr/bin/env bash

set -euo pipefail

if command -v tree >/dev/null; then
    tree --dirsfirst --noreport -ChFupDaL 1 "$@"
else
    ls --color=auto --group-directories-first -l1 "$@"
fi