From ca3e88b934c2d161160988216b50176b93d0a38e Mon Sep 17 00:00:00 2001 From: Muhammad Herdiansyah Date: Wed, 4 Jan 2017 22:45:08 +0700 Subject: [PATCH] CPU/CPU Usage: Fixed cores not showing in Solaris In Oracle Solaris, its default grep doesn't have -F option, only xpg4 has it, so a new PATH has to be added because somehow Oracle doesn't include them into the default PATH. --- neofetch | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/neofetch b/neofetch index fda3dd6f..ba50c2b0 100755 --- a/neofetch +++ b/neofetch @@ -16,8 +16,8 @@ XDG_CONFIG_HOME="${XDG_CONFIG_HOME:-${HOME}/.config}" export LC_ALL=C export LANG=C -# Add /usr/sbin and /sbin to PATH. -export PATH="/usr/sbin:/sbin:${PATH}" +# Add /usr/xpg4/bin, /usr/sbin, and /sbin to PATH. +export PATH="/usr/xpg4/bin:/usr/sbin:/sbin:${PATH}" # Set no case match. shopt -s nocasematch