mirror of
https://github.com/zsh-users/zsh-completions.git
synced 2026-09-17 16:00:19 +00:00
remove trailing spaces
This commit is contained in:
+4
-4
@@ -9,13 +9,13 @@
|
||||
# Authors
|
||||
# -------
|
||||
#
|
||||
# * Johannes Bittner (https://github.com/johannes87)
|
||||
# * Johannes Bittner (https://github.com/johannes87)
|
||||
#
|
||||
# ------------------------------------------------------------------------------
|
||||
|
||||
_chatblade() {
|
||||
local -a args
|
||||
|
||||
|
||||
args+=(
|
||||
'(-h --help)'{-h,--help}'[show this help message and exit]'
|
||||
'--openai-api-key[the OpenAI API key can also be set as env variable OPENAI_API_KEY]'
|
||||
@@ -42,7 +42,7 @@ _chatblade() {
|
||||
'--session-delete[delete session]'
|
||||
'--session-rename[rename session]:new session:->sessions'
|
||||
)
|
||||
|
||||
|
||||
case $state in
|
||||
(sessions)
|
||||
local -a sessions
|
||||
@@ -50,7 +50,7 @@ _chatblade() {
|
||||
_describe 'session' sessions
|
||||
;;
|
||||
esac
|
||||
|
||||
|
||||
_arguments -s $args
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user