diff options
author | Frank Terbeck <ft@bewatermyfriend.org> | 2016-05-01 15:27:32 +0200 |
---|---|---|
committer | Frank Terbeck <ft@bewatermyfriend.org> | 2016-05-02 00:11:06 +0200 |
commit | 493c7e087981036ae2db67eb5b8e86db80b77917 (patch) | |
tree | f39025e63efd7b82cbb064dac9549d8a2bc06649 /Completion/Unix/Command/_joe | |
parent | bb5c8f16bf774c59f9e04a2ae39d7cb5b6fb38f6 (diff) | |
download | zsh-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/_joe')
-rw-r--r-- | Completion/Unix/Command/_joe | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Completion/Unix/Command/_joe b/Completion/Unix/Command/_joe index 96ad0a4f1..91c437ead 100644 --- a/Completion/Unix/Command/_joe +++ b/Completion/Unix/Command/_joe @@ -3,7 +3,7 @@ _arguments \ '-asis[characters with codes >127 will be displayed non-inverted]' \ '-backpath[backup file directory]:backup file directory:_files -/' \ - '-baud[inserts delays for baud rates below 19200]:baud rate:(57600 38400 19200 9600 4800 2400 1200 300)' \ + '-baud[inserts delays for baud rates below 19200]:baud rate:_baudrate' \ '-beep[beep on command errors or when cursor goes past extremes]' \ '-columns[sets the number of screen columns]:num of columns' \ '-csmode[continued search mode]' \ |