re: My Shell Aliases VIEW POST


alias y='yarn' # I am lazy, one character FTW. YOLO

Hell yes. I still haven't outgrown my Gentoo phase, so I update with u:

alias eup='sudo emerge -avtuDN --with-bdeps=y --keep-going @world'
alias u='sudo eix-sync && eup'

On my aging laptop running Void:

alias u='sudo xbps-install -Su'

There's also this monstrosity for building a new kernel in /root/.bashrc:

alias dokern='cd /usr/src/linux && mount /boot && make clean && make distclean && make mrproper && zcat /proc/config.gz > .config && make -j12 && make modules_install && make install && grub-mkconfig -o /boot/grub/grub.cfg && emerge -avt @module-rebuild && umount /boot && cd -'

I'm not even sorry. I had a similar line for cleaning up artifacts from an old kernel but it got gross enough to merit its own script.

In a similar vein to eup for emerge, there's Rust and OCaml toolchains:

alias oup='opam update && opam upgrade'
alias rup='rustup update && cargo install-update -a'
Code of Conduct Report abuse