Merge remote-tracking branch 'upstream/master'

* upstream/master:
  Switch to output parse of `--version` to determine ls flavor
  Update installation repo URL
This commit is contained in:
Jeff Byrnes
2022-07-28 14:09:11 -04:00
2 changed files with 2 additions and 2 deletions

View File

@@ -97,7 +97,7 @@ fi
if [ "$shell_ls_aliases_enabled" = "true" ] && builtin command -v ruby > /dev/null 2>&1; then
# BSD ls is different to Linux (GNU) ls
# Test for BSD ls
if ! ls --color=auto > /dev/null 2>&1; then
if ! (ls --version 2>/dev/null || echo "BSD") | grep GNU >/dev/null 2>&1; then
# ls is BSD
_ls_bsd="BSD"
fi