update rc to add alpine package size

This commit is contained in:
Night Kaly 2024-06-08 12:49:15 +01:00
parent 853d7d6834
commit c804869fa7
Signed by: night0721
GPG key ID: 957D67B8DB7A119B

4
.rc
View file

@ -83,6 +83,10 @@ findfiles() {
find . -not -path "*/.mozilla/*" -not -path "*/.cache/*" -not -path "*/.local/share/*" -not -path "*/.local/state/*" -not -path "*/env/*" -not -path "*/.local/state/*" -not -path "*/node_modules/*" -not -path "*/pdfs/*" -not -path "*/build/*" -not -path "*/.git/*" -not -path "*/npm/*" -not -path "*/.gnupg/*" -not -path "*/.wakatime/*" -not -path "*/textbook/*" -not -path "*/stagit/*" -not -path "*/Music/*" -not -path "*/Video/*" -not -path "*/cath-docs/*" -not -name "*.tar.gz" -type f -not -executable -exec grep -rnwsRH -e "$1" {} + 2> /dev/null
}
asz() {
([ $# -eq 0 ] && apk info -e -s '*' || apk info -s "$@") | while IFS=' ' read -r p _ _; do read -r l m; printf '%s\t%s\n' "$l$m" "$p"; read; done | sort -h
}
function replace {
echo "Type the pattern you want to replace"
read pattern