You are not logged in.
So as the topic mentions, this is pointless, but it looks nice so I use it. It's just a bash script that escapes the colors to match the daemon start/stopping look. I know it breaks some terminals, but I pretty much am always in an aterm so it's fine for me. Maybe someone else will like it.
archo
#!/bin/bash
echo -en "33[1m33[34m:: 33[37m$*33[0m"
What does this do? It just prints the nice bold blue :: and brightwhite text for whatever you specify. i.e., it looks like the Arch daemon starting/stopping messages, which I think look nice.
sample usage:
dmail
#!/bin/bash
archo "Laptop "
mail
archo "Desktop "
ssh mydesktop mail
So when I run it I get a nice:
:: Laptop No mail for lydgate
:: Desktop No mail for lydgate
that looks just like arch. Yes, it's pointless, but I thought someone else might like it.
Anyone else got anything like this?
Offline
vim /etc/rc.d/functions
Offline
indeed and
. /etc/rc.d/functions
Offline
Haha, thanks for pointing me to that
Offline