summaryrefslogtreecommitdiff
path: root/lib/diagnostics.zsh
diff options
context:
space:
mode:
Diffstat (limited to 'lib/diagnostics.zsh')
-rw-r--r--lib/diagnostics.zsh2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/diagnostics.zsh b/lib/diagnostics.zsh
index 650520797..eaeba7d23 100644
--- a/lib/diagnostics.zsh
+++ b/lib/diagnostics.zsh
@@ -335,7 +335,7 @@ function _omz_diag_dump_os_specific_version() {
builtin echo "OS Version: $osname $osver build $(sw_vers -buildVersion)"
;;
cygwin)
- command systeminfo | command head -4 | command tail -2
+ command systeminfo | command head -n 4 | command tail -n 2
;;
esac