about summary refs log tree commit diff
path: root/Completion/X/_x_title
diff options
context:
space:
mode:
Diffstat (limited to 'Completion/X/_x_title')
-rw-r--r--Completion/X/_x_title6
1 files changed, 5 insertions, 1 deletions
diff --git a/Completion/X/_x_title b/Completion/X/_x_title
index b072d5b9d..c892702b1 100644
--- a/Completion/X/_x_title
+++ b/Completion/X/_x_title
@@ -1,3 +1,7 @@
 #autoload
 
-_message 'title'
+if (( $# )); then
+  _message "$2"
+else
+  _message 'title'
+fi