Merge branch 'master' of github.com:tgrosinger/dotfiles

This commit is contained in:
Tony Grosinger 2015-05-26 13:07:12 -07:00
commit 1bf287607b

13
.bashrc
View File

@ -75,6 +75,19 @@ function fb() {
fi
}
# wificonnect
# usage: wificonnect <ssid> <password>
# Connects the computer to the provided network
# Assumes the network interface is wlan0
function wificonnect() {
if [ $# -ne 2]; then
echo "wificonnect"
echo "usage: wificonnect <ssid> <password>"
else
nmcli d wifi connect $1 password $2 iface wlan0
fi
}
# Prompt Related Helpers
# Add color shortcuts