about summary refs log tree commit diff
path: root/Completion/Unix/Command/_screen
diff options
context:
space:
mode:
authorFrank Terbeck <ft@bewatermyfriend.org>2016-05-01 15:27:32 +0200
committerFrank Terbeck <ft@bewatermyfriend.org>2016-05-02 00:11:06 +0200
commit493c7e087981036ae2db67eb5b8e86db80b77917 (patch)
treef39025e63efd7b82cbb064dac9549d8a2bc06649 /Completion/Unix/Command/_screen
parentbb5c8f16bf774c59f9e04a2ae39d7cb5b6fb38f6 (diff)
downloadzsh-493c7e087981036ae2db67eb5b8e86db80b77917.tar.gz
zsh-493c7e087981036ae2db67eb5b8e86db80b77917.tar.xz
zsh-493c7e087981036ae2db67eb5b8e86db80b77917.zip
38388: Refactor baud rate completion
This adds a new helper function _baudrate and uses it in place of
private solutions in various existing completions.
Diffstat (limited to 'Completion/Unix/Command/_screen')
-rw-r--r--Completion/Unix/Command/_screen2
1 files changed, 1 insertions, 1 deletions
diff --git a/Completion/Unix/Command/_screen b/Completion/Unix/Command/_screen
index 510fd7195..f4d2ef943 100644
--- a/Completion/Unix/Command/_screen
+++ b/Completion/Unix/Command/_screen
@@ -99,7 +99,7 @@ if [[ -n $state ]]; then
       if (( CURRENT == 1 )) && [[ $PREFIX == /dev/* ]]; then
 	  _path_files -g '*(%)'
       elif (( CURRENT == 2 )) && [[ ${words[1]} == /dev/* ]]; then
-	  _message "baud rate"
+	  _baudrate
       elif (( CURRENT > 2 )) && [[ ${words[1]} == /dev/* ]]; then
 	  _message "no more parameters"
       else