systemctl eshell

· by [Joakim Verona] · Read in about 1 min · (83 words) ·

systwemctl is nice, but has some tedious aspects if you run your shells in emacs, as i do. you can do export PAGER= this is nice, since emacs is a much better pager than more or less. also, by default systemctl elipsifies output, which i prefer emacs to handle. -l helps, but how do i avoid always typing it?

ive been using a sctl alias in eshell, and its nice: alias sctl sudo systemctl –no-pager $* so, i get sudo and no pager.