bin/ll1 @ e7338d0c9900

Fix terminal colors
author Steve Losh <steve@stevelosh.com>
date Tue, 03 Oct 2023 13:52:23 -0400
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