Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
adam.huang
Ohmyzsh
Commits
e94039d6
Commit
e94039d6
authored
13 years ago
by
Paul Gideon Dann
Browse files
Options
Download
Email Patches
Plain Diff
Splitting wakeonlan plugin completion into separate file
parent
aa7ddd51
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
plugins/wakeonlan/_wake
+4
-0
plugins/wakeonlan/_wake
plugins/wakeonlan/wakeonlan.plugin.zsh
+0
-4
plugins/wakeonlan/wakeonlan.plugin.zsh
with
4 additions
and
4 deletions
+4
-4
plugins/wakeonlan/_wake
0 → 100644
View file @
e94039d6
#compdef wake
#autoload
_arguments "1:device to wake:_files -W '$HOME/.wakeonlan'" && return 0
This diff is collapsed.
Click to expand it.
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
This diff is collapsed.
Click to expand it.
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
Menu
Projects
Groups
Snippets
Help