spiced up bashrc a little more

This commit is contained in:
Brad Ganley
2025-12-03 01:23:42 -06:00
parent ac10953a7c
commit 0b945fe44f
2 changed files with 10 additions and 0 deletions

View File

@@ -178,3 +178,12 @@ extract () {
export PATH="$HOME/.cargo/bin:$HOME/.local/bin:$PATH"
export CDPATH=:..:$HOME:$HOME/dock:/dock
alias colors='for x in {16..231}; do printf "\e[48;5;${x}m%03d\e[0m " $x; done'
#fastfetch
printf "\n%s %s | Load: %s | Uptime: %s\n" \
"$(hostname -s)" \
"$(date +%H:%M)" \
"$(cut -d' ' -f1-3 /proc/loadavg)" \
"$(uptime -p | sed 's/up //')"
df -h . | awk 'NR==2{printf "Disk: %s free of %s\n",$4,$2}'
curl -s "https://wttr.in/?format=%l:+%c+%t+%w+%p"
echo