This repository hosts a tiny plugin for iwd.
It provides:
- a
wififunction to list available networks, connect and disconnect a Wi-Fi. - zsh completion, including completion for available SSIDs.
You simply have to copy the iwd.plugin.zsh file into a custom/plugins/iwd directory of your oh-my-zsh installation.
For most installation, you could simply do
git clone https://github.com/NiziL/iwd.plugin.zsh ~/.oh-my-zsh/custom/plugins/iwdThe plugin relies on one variable, ZSH_IWD_STATION which have to be the iwd station you want to use (see iwctl station list for a full list on your system), if your station is the usual wlan0, it should works out of the box.