We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 628a2d6 commit 44c0cbaCopy full SHA for 44c0cba
1 file changed
lto-shtweaks.sh
@@ -60,6 +60,10 @@ export SHTWEAKS_BRANCH="release"
60
61
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 "{")'
62
63
+# Get version info of this file
64
+
65
+alias shtweaksver='set | grep SHTWEAKS'
66
67
# Show a percental system load derived from the load average
68
69
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