]>
git.rmz.io Git - dotfiles.git/blob - zsh/plugins/wakeonlan/wakeonlan.plugin.zsh
2 local config_file
="$HOME/.wakeonlan/$1"
3 if [[ ! -f "$config_file" ]]; then
4 echo "ERROR: There is no configuration file at \"$config_file\"."
8 if (( ! $
+commands
[wakeonlan
] )); then
9 echo "ERROR: Can't find \"wakeonlan\". Are you sure it's installed?"
13 wakeonlan
-f "$config_file"