Skip to content
Get the password of the wifi you're on (bash)
Branch: master
Clone or download
3
Latest commit d17a0dd Jul 18, 2016
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
History.md Release 0.1.0 Feb 16, 2015
Readme.md OSX -> macOS Jul 17, 2016
package.json make bpkg friendly Feb 15, 2015
wifi-password.plugin.zsh Prepend ourself to `$PATH` instead of appending Jul 12, 2016
wifi-password.sh

Readme.md

wifi-password

People ask you for the Wi-Fi password. Answer quickly. macOS only. Windows version.

How to use

1. Install it

With bpkg:

$ bpkg install rauchg/wifi-password

With Homebrew:

$ brew install wifi-password

With Antigen:

Add antigen bundle rauchg/wifi-password to your .zshrc with your other antigen commands

With Zgen

Add zgen load rauchg/wifi-password to your .zshrc with your other zgen commands

or with curl:

curl -L https://raw.github.com/rauchg/wifi-password/master/wifi-password.sh -o ~/bin/wifi-password && chmod +x ~/bin/wifi-password

If you don't have ~/bin in your $PATH, replace it with /usr/local/bin or similar.

2. Use it:

To get the password for the WiFi you're currently logged onto:

$ wifi-password

To get it for a specific SSID:

$ wifi-password <ssid>

To put it straight in your clipboard for pasting elsewhere (OS X only):

$ wifi-password | pbcopy

License

MIT

You can’t perform that action at this time.