fetch

A MSYS2-compatible sys-info prompt
Log | Files | Refs | README | LICENSE

commit cea7bdad121b0a7cc1a79402c104940d53920231
parent 286c60eb7cfab4e2564ac75c3e0d3b51aa9bac25
Author: Byron Torres <b@torresjrjr>
Date:   Sat, 28 Nov 2020 00:35:36 +0000

Format code

Diffstat:
Mfetch | 5++---
1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/fetch b/fetch @@ -4,7 +4,7 @@ printf '...\r' # initial wait -## Prepare colours (and palette if used) +## Prepare colours and palette c0=$(printf '\e[0m' ) c1=$(printf '\e[31m'); c2=$(printf '\e[32m') c3=$(printf '\e[33m'); c4=$(printf '\e[34m') @@ -31,8 +31,7 @@ date=$(date -R) shell=${SHELL##*/} user=${USER} host=$(hostname) -# see `man uname` -os=$(uname -o) +os=$(uname -o) # see `man uname` kernel_name=$(uname -s) kernel_release=$(uname -r)