aboutsummaryrefslogtreecommitdiffstats
path: root/completions/zsh/_sway
blob: f3695c48d9ef2068441b1ad562b398a97f0a55e3 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#compdef sway
#------------
# Description
# -----------
#
# Completion script for the sway window manager (http://swaywm.org)
#
# ---------------------------------------------
# Author
# -------
#
# * Seth Barberee <seth.barberee@gmail.com>
#
# -------------------------------
_arguments -s \
	'(-v --version)'{-v,--version}'[shows version]' \
	'(-h --help)'{-h,--help}'[shows help message]' \
	'(-c --config)'{-c,--config}'[Specify a config file different than $HOME/.config/sway/config]:files:_files' \
	'(-C --validate)'{-C,--validate}'[Check validity of the config file, then exit]' \
	'(-d --debug)'{-d,--debug}'[Enables full logging, including debug information]' \
	'(-v --verbose)'{-v,--verbose}'[Enables more verbose logging]' \
	'(--get-socketpath)'--get-socketpath'[Gets the IPC socket path and prints it, then exits]'