corrected alias documentation

This commit is contained in:
Rob Ede 2016-09-08 00:27:46 +01:00
parent a64d018a9d
commit db31d51576

View file

@ -2,18 +2,18 @@
This plugin adds some aliases and functions for FirewallD using the `firewalld-cmd` command. To use it, add firewalld to your plugins array. This plugin adds some aliases and functions for FirewallD using the `firewalld-cmd` command. To use it, add firewalld to your plugins array.
``` ```zsh
plugins=(... firewalld) plugins=(... firewalld)
``` ```
## Aliases ## Aliases
| Alias | Command | Description | | Alias | Command | Description |
| :---- | :----------------------------------- | :--------------------------- | | :---- | :----------------------------------------- | :--------------------------- |
| fw | `firewall-cmd` | Shorthand | | fw | `sudo firewall-cmd` | Shorthand |
| fwr | `firewall-cmd --reload` | Reload current configuration | | fwr | `sudo firewall-cmd --reload` | Reload current configuration |
| fwp | `firewall-cmd --permanent` | Create permanent rule | | fwp | `sudo firewall-cmd --permanent` | Create permanent rule |
| fwrp | `firewall-cmd --runtime-to-permanent` | Save current configuration | | fwrp | `sudo firewall-cmd --runtime-to-permanent` | Save current configuration |
## Functions ## Functions