mirror of
https://github.com/dylanaraps/neofetch.git
synced 2025-10-04 17:09:21 +00:00
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.
This commit is contained in:
4
neofetch
4
neofetch
@@ -16,8 +16,8 @@ XDG_CONFIG_HOME="${XDG_CONFIG_HOME:-${HOME}/.config}"
|
|||||||
export LC_ALL=C
|
export LC_ALL=C
|
||||||
export LANG=C
|
export LANG=C
|
||||||
|
|
||||||
# Add /usr/sbin and /sbin to PATH.
|
# Add /usr/xpg4/bin, /usr/sbin, and /sbin to PATH.
|
||||||
export PATH="/usr/sbin:/sbin:${PATH}"
|
export PATH="/usr/xpg4/bin:/usr/sbin:/sbin:${PATH}"
|
||||||
|
|
||||||
# Set no case match.
|
# Set no case match.
|
||||||
shopt -s nocasematch
|
shopt -s nocasematch
|
||||||
|
Reference in New Issue
Block a user