summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorThorsten Wißmann <edu@thorsten-wissmann.de>2013-01-20 21:32:09 +0100
committerThorsten Wißmann <edu@thorsten-wissmann.de>2013-01-20 21:32:09 +0100
commitb38530fdc4a4858d6be3dd2f330809a20514e22c (patch)
treed6f3bd3fea0165eaa955a8d8354136d28081d391 /doc
parent4c2618560f8c4c50ff4fd0c3f109068d439bd022 (diff)
Add command complete_shell
Add a command complete_shell that does shell optimized things like escaping. This lets complete again behave like the original complete command.
Diffstat (limited to 'doc')
-rw-r--r--doc/herbstluftwm.txt8
1 files changed, 8 insertions, 0 deletions
diff --git a/doc/herbstluftwm.txt b/doc/herbstluftwm.txt
index 4345ddac..78f77db9 100644
--- a/doc/herbstluftwm.txt
+++ b/doc/herbstluftwm.txt
@@ -623,6 +623,14 @@ complete 'POSITION' ['COMMAND' 'ARGS ...']::
* complete 1 toggle fra +
prints all settings beginning with fra that can be toggled
+complete_shell 'POSITION' ['COMMAND' 'ARGS ...']::
+ Behaves like *complete* with the following extras, useful for completion on
+ posix shells:
+
+ * Escape sequences are removed in 'COMMAND' and 'ARGS'.
+ * A space is appended to each full completion result.
+ * The special characters will be escaped in the output.
+
emit_hook 'ARGS ...'::
Emits a custom hook to all idling herbstclients.