dotfiles

My opinionated dotfiles
git clone git://git.erethon.com/dotfiles
Log | Files | Refs

commit f6d4803e00d75fa4d65a13d6ff53978dbec55db4
parent e6f33d4d01be39780a1180bf65eaddfcb26b354b
Author: Dionysis Grigoropoulos <info@erethon.com>
Date:   Wed, 25 Mar 2015 18:17:12 +0200

bash_aliases: Add forgotten wifi(), update shutd

Diffstat:
.bash_aliases | 11++++++++++-
1 file changed, 10 insertions(+), 1 deletion(-)

diff --git a/.bash_aliases b/.bash_aliases @@ -43,10 +43,19 @@ servedir(){ } shutd(){ - echo $((date| cut -d' ' -f 1-5 && uptime | cut -d' ' -f 3-5 | cut -d',' -f 1 ) | tr "\n" " ") >> /home/dion/.uptime.txt + echo $((date| cut -d' ' -f 1-5 && uptime | cut -d' ' -f 3-5 | cut -d',' -f 1 ) | tr "\n" " ") >> ~/.uptime.txt sudo shutdown -h now } +wifi(){ + sudo rfkill unblock wifi + sleep 1 + sudo ifconfig wlan0 down + sudo macchanger -r wlan0 + sudo ifconfig wlan0 up + sudo service wicd start + wicd-curses +} #Clear terminal alias c="clear"