mirror of
https://github.com/fish-shell/fish-shell
synced 2025-01-13 13:39:02 +00:00
Skip cd-without-read tests on NetBSD
This commit is contained in:
parent
2965603e7f
commit
a4cc9c6975
1 changed files with 3 additions and 1 deletions
|
@ -283,7 +283,9 @@ complete -C'cd .'
|
||||||
# `sysctl kern.osproductversion` emits something like:
|
# `sysctl kern.osproductversion` emits something like:
|
||||||
# kern.osproductversion: 14.3.1
|
# kern.osproductversion: 14.3.1
|
||||||
# Note that there is no kern.osproductversion under older OS X releases!
|
# Note that there is no kern.osproductversion under older OS X releases!
|
||||||
if test (uname) = "Darwin" && test (sysctl kern.osproductversion 2>/dev/null | string match -r \\d+; or echo 10) -lt 12
|
#
|
||||||
|
# NetBSD 10 does not support it.
|
||||||
|
if test (uname) = NetBSD || begin; test (uname) = "Darwin" && test (sysctl kern.osproductversion 2>/dev/null | string match -r \\d+; or echo 10) -lt 12; end
|
||||||
# Not supported. Satisfy the CHECKs below.
|
# Not supported. Satisfy the CHECKs below.
|
||||||
echo fake/a
|
echo fake/a
|
||||||
echo fake/a/b
|
echo fake/a/b
|
||||||
|
|
Loading…
Reference in a new issue