bin/l1 @ 18cc4d4f4ac4

More
author Steve Losh <steve@stevelosh.com>
date Fri, 18 Sep 2020 17:21:49 -0400
parents dcbf704290a1
children (none)
#!/usr/bin/env bash

set -euo pipefail

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