mirror of
https://github.com/notwa/rc
synced 2025-02-05 07:43:22 -08:00
fix picky and unused
This commit is contained in:
parent
f96a369efb
commit
f7d758dfb1
2 changed files with 8 additions and 4 deletions
|
@ -92,6 +92,11 @@ rot13 with rotated numbers as well.
|
|||
unwraps text that was wrapped using double-newlines as spacing,
|
||||
e.g. this readme file.
|
||||
|
||||
### double
|
||||
|
||||
prints every line twice.
|
||||
prints every line twice.
|
||||
|
||||
### picky + unused
|
||||
|
||||
attempts to print non-standard packages that were installed on an arch linux box,
|
||||
|
@ -99,8 +104,6 @@ so you can reinstall them later on a fresh installation.
|
|||
|
||||
`unused` will print unused packages instead.
|
||||
|
||||
this seems to be broken since the functionality of `tee -` changed.
|
||||
|
||||
### makepkgf + rakef
|
||||
|
||||
make the freakin' package!
|
||||
|
|
|
@ -125,9 +125,10 @@ alias bomb='uconv -f utf-8 -t utf-8 --add-signature'
|
|||
alias cleanse='tr -cd "\11\12\15\40-\176"'
|
||||
alias rot13='tr "A-Za-z0-9" "N-ZA-Mn-za-m5-90-4"'
|
||||
alias unwrap='awk '\''BEGIN{RS="\n\n";FS="\n"}{for(i=1;i<=NF;i++)printf "%s ",$i;print "\n"}'\'
|
||||
alias double='awk "{print;print}"'
|
||||
#
|
||||
alias picky='{ pacman -Qgq base base-devel | tee -; pacman -Qtnq; } | sort | uniq -u'
|
||||
alias unused='{ pacman -Qt; pacman -Qe | tee -; } | sort | uniq -u'
|
||||
alias picky='{ pacman -Qgq base base-devel xorg xorg-drivers xfce4 | double; pacman -Qeq; } | sort | uniq -u'
|
||||
alias unused='{ pacman -Qtq; pacman -Qeq | double; } | sort | uniq -u'
|
||||
#
|
||||
alias makepkgf='sudo -u $USER makepkg -Af --skipchecksums --skippgpcheck'
|
||||
alias rakef='rake && gem build *.gemspec && gem install *.gem'
|
||||
|
|
Loading…
Add table
Reference in a new issue