# HG changeset patch # User nanaya # Date 1666457786 -32400 # Node ID a04ba615362c3af0fad8e4e004ccaa29f68fba4c # Parent 7dda86be7a6045b98b9d94404f99589bac238067 [bashrc] back to prioritizing gnuls for openbsd It should be fixed by now...? Can't remember what the problem was though. diff -r 7dda86be7a60 -r a04ba615362c rc/bashrc --- a/rc/bashrc Sun Oct 23 01:46:56 2022 +0900 +++ b/rc/bashrc Sun Oct 23 01:56:26 2022 +0900 @@ -148,12 +148,15 @@ _has_gnu_grep=y ;; OpenBSD) - # GNU ls is broken in 5.2. Prioritize colorls instead. - if command -v colorls > /dev/null 2>&1; then - alias ls="colorls -F" - elif command -v gls > /dev/null 2>&1; then + if command -v gls > /dev/null 2>&1; then _has_gnu_ls=y _ls="gls" + elif command -v colorls > /dev/null 2>&1; then + alias ls="colorls -F" + fi + if command -v ggrep > /dev/null 2>&1; then + _has_gnu_grep=y + _grep="ggrep" fi ;; NetBSD|DragonFly)