feat: show $SHELL version
This commit is contained in:
parent
4f13e34eee
commit
b52234755e
@ -19,7 +19,7 @@ os='Gentoo'
|
|||||||
kernel="$(uname -sr)"
|
kernel="$(uname -sr)"
|
||||||
uptime="$(uptime -p | sed 's/up //')"
|
uptime="$(uptime -p | sed 's/up //')"
|
||||||
packages="$(printf '%s\n' /var/db/pkg/*/* | wc -l)"
|
packages="$(printf '%s\n' /var/db/pkg/*/* | wc -l)"
|
||||||
shell="$(basename "$SHELL")"
|
shell="$($SHELL --version | sed -e 's/(.*)//')"
|
||||||
wm="$(tail -n 1 "$XDG_CONFIG_HOME/X11/xinitrc" | cut -d ' ' -f 2)"
|
wm="$(tail -n 1 "$XDG_CONFIG_HOME/X11/xinitrc" | cut -d ' ' -f 2)"
|
||||||
|
|
||||||
# parse the '/proc/meminfo' file splitting on ':' and 'k'.
|
# parse the '/proc/meminfo' file splitting on ':' and 'k'.
|
||||||
|
Reference in New Issue
Block a user