X-Git-Url: https://src.twobees.de/?a=blobdiff_plain;f=stow%2Foh-my-zsh%2F.oh-my-zsh%2Fplugins%2Fwakeonlan%2Fwakeonlan.plugin.zsh;fp=stow%2Foh-my-zsh%2F.oh-my-zsh%2Fplugins%2Fwakeonlan%2Fwakeonlan.plugin.zsh;h=0000000000000000000000000000000000000000;hb=1a8e170bbe5c6641a26ab1ce2e6ce6c5c1faa4cd;hp=6cef7d44ad72f59690093b6e13cdd95d629cff69;hpb=475ba35502579302593f4735c853c49ef1845dcb;p=dotfiles.git diff --git a/stow/oh-my-zsh/.oh-my-zsh/plugins/wakeonlan/wakeonlan.plugin.zsh b/stow/oh-my-zsh/.oh-my-zsh/plugins/wakeonlan/wakeonlan.plugin.zsh deleted file mode 100644 index 6cef7d4..0000000 --- a/stow/oh-my-zsh/.oh-my-zsh/plugins/wakeonlan/wakeonlan.plugin.zsh +++ /dev/null @@ -1,14 +0,0 @@ -function wake() { - local config_file="$HOME/.wakeonlan/$1" - if [[ ! -f "$config_file" ]]; then - echo "ERROR: There is no configuration file at \"$config_file\"." - return 1 - fi - - if (( ! $+commands[wakeonlan] )); then - echo "ERROR: Can't find \"wakeonlan\". Are you sure it's installed?" - return 1 - fi - - wakeonlan -f "$config_file" -}