diff --git a/home/-shrc b/home/-shrc index e873d30..9d1764a 100644 --- a/home/-shrc +++ b/home/-shrc @@ -144,9 +144,13 @@ alias double='awk "{print;print}"' ### @- print every line twice.
print ev ### the *plotutils* package that i don't use. alias join2='paste -d" " - -' ### @- join every other line. alias katagana='perlu -MUnicode::Normalize -pe'"'"'$_=NFKD($_)=~y/ァ-ヶ /ぁ-ゖ /r'"'" ### @- convert katakana codepoints to their equivalent hiragana. -### useful for translating [debug text from ancient games.](https://tcrf.net/) -alias picky='comm -23 <(pacman -Qetq | sort -u) <(pacman -Qgq base base-devel xorg xorg-drivers xfce4 mingw-w64-x86_64-toolchain 2>/dev/null | sort -u) | tr -d "\t"' ### @- TODO -alias unused='comm -23 <(pacman -Qtq) <(pacman -Qeq) | tr -d "\t"' ### @- TODO +### this is occasionally useful when translating [debug text from ancient games.](https://tcrf.net/) +alias picky='comm -23 <(pacman -Qetq | sort -u) <(pacman -Qgq base base-devel xorg xorg-drivers xfce4 mingw-w64-x86_64-toolchain 2>/dev/null | sort -u) | tr -d "\t"' ### @- +### list pacman packages that were manually installed and are not in some common package groups. +### this list can be used to assist later reinstalls. +alias unused='comm -23 <(pacman -Qtq) <(pacman -Qeq) | tr -d "\t"' ### @- +### list pacman packages that weren't installed explicitly and don't satisfy any dependencies. +### this list can be used to free up some disk space. alias makepkgf='makepkg -Af --skipchecksums --skippgpcheck' ### @- make the freakin' package! alias rakef='rake && gem build *.gemspec && gem install *.gem' ### @- make the freakin' gem!