diff options
Diffstat (limited to 'completions/zsh/_sway')
-rw-r--r-- | completions/zsh/_sway | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/completions/zsh/_sway b/completions/zsh/_sway new file mode 100644 index 00000000..a9b1a14f --- /dev/null +++ b/completions/zsh/_sway | |||
@@ -0,0 +1,28 @@ | |||
1 | #compdef sway | ||
2 | #------------ | ||
3 | # Description | ||
4 | # ----------- | ||
5 | # | ||
6 | # Completion script for the sway window manager (http://swaywm.org) | ||
7 | # | ||
8 | # --------------------------------------------- | ||
9 | # Author | ||
10 | # ------- | ||
11 | # | ||
12 | # * Seth Barberee <seth.barberee@gmail.com> | ||
13 | # | ||
14 | # ------------------------------- | ||
15 | |||
16 | _sway() { | ||
17 | local -a options | ||
18 | options=('--version:shows version' | ||
19 | '--help:shows help message' | ||
20 | '--config:Specify a config file different than $HOME/.config/sway/config' | ||
21 | '--validate:Check validity of the config file, then exit' | ||
22 | '--debug:Enables full logging, including debug information' | ||
23 | '--verbose:Enables more verbose logging' | ||
24 | '--get-socketpath:Gets the IPC socket path and prints it, then exits' | ||
25 | ) | ||
26 | _describe 'values' options | ||
27 | } | ||
28 | _sway "$@" | ||