Skip to content

Commit 44c0cba

Browse files
committed
Adding shtweaksver alias
1 parent 628a2d6 commit 44c0cba

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

lto-shtweaks.sh

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,10 @@ export SHTWEAKS_BRANCH="release"
6060

6161
alias listshtweaks='filename="$(realpath ~)/lto-shtweaks.sh"; [ -r "$filename" ] && content=$(cat $filename); [ ! -r "$filename" ] && content=$(curl -s https://raw.githubusercontent.com/lortordermur/lto-shtweaks/main/lto-shtweaks.sh); (echo $content | grep "^alias " | cut -d "=" -f 1 | grep -v "^#alias" && echo $content | grep " () {$" | tr -d "{")'
6262

63+
# Get version info of this file
64+
65+
alias shtweaksver='set | grep SHTWEAKS'
66+
6367
# Show a percental system load derived from the load average
6468

6569
alias sysload='printf "System load (1m/5m/15m): "; for l in 1 2 3 ; do printf "%.1f%s" "$(( $(cat /proc/loadavg | cut -f $l -d " ") * 100 / $(nproc) ))" "% "; done; printf "\n"'

0 commit comments

Comments
 (0)