Browse Source

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.
Muhammad Herdiansyah 8 years ago
parent
commit
ca3e88b934
1 changed files with 2 additions and 2 deletions
  1. 2 2
      neofetch

+ 2 - 2
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