commit c6ed4646cc8ad47734a97e3e0a7d61958ae7c0d7
parent c9333c48818c117fceca2d266b490ae5f8ac521d
Author: Byron Torres <b@torresjrjr.com>
Date: Thu, 18 Feb 2021 05:59:18 +0000
Prefer shell fullpath to unpredictable --version
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/fetch b/fetch
@@ -55,7 +55,7 @@ _kernel() {
printf "$1" "$(uname -sr)"
}
_shell() {
- printf "$1" "$($(readlink /proc/$PPID/exe) --version | head -1)"
+ printf "$1" "$(readlink /proc/$PPID/exe)"
}
_sshd() {
sshd_pids=$(ps x | awk 'BEGIN{ORS=" "}; /sshd/{print $1}')