Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
adam.huang
Oh My Zsh
Commits
e94039d6
Commit
e94039d6
authored
Sep 19, 2011
by
Paul Gideon Dann
Browse files
Splitting wakeonlan plugin completion into separate file
parent
aa7ddd51
Changes
2
Hide whitespace changes
Inline
Side-by-side
plugins/wakeonlan/_wake
0 → 100644
View file @
e94039d6
#compdef wake
#autoload
_arguments "1:device to wake:_files -W '$HOME/.wakeonlan'" && return 0
plugins/wakeonlan/wakeonlan.plugin.zsh
View file @
e94039d6
...
...
@@ -12,7 +12,3 @@ function wake() {
wakeonlan
-f
"
$config_file
"
}
if
((
$+
functions[compdef]
))
;
then
compdef
"_arguments '1:device to wake:_files -W '
\'
'
$HOME
/.wakeonlan'
\'
''"
wake
fi
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment