Skip to content

Commit

Permalink
remove zsh_codex plugin
Browse files Browse the repository at this point in the history
remove this plugin that serves OpenAI’s defunct code completion to fix #732

Signed-off-by: Lucas Larson <[email protected]>
  • Loading branch information
LucasLarson committed Mar 31, 2023
1 parent cdb79d7 commit db4bbb1
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 16 deletions.
4 changes: 0 additions & 4 deletions .gitmodules
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,6 @@
branch = main
path = custom/plugins/zsh-diff-so-fancy
url = https://github.com/zdharma-continuum/zsh-diff-so-fancy
[submodule "custom/plugins/zsh_codex"]
branch = main
path = custom/plugins/zsh_codex
url = https://github.com/tom-doerr/zsh_codex
[submodule "custom/plugins/zsh-abbr"]
branch = main
path = custom/plugins/zsh-abbr
Expand Down
11 changes: 0 additions & 11 deletions .zshrc
Original file line number Diff line number Diff line change
Expand Up @@ -60,17 +60,6 @@ plugins+=(
zsh-autosuggestions
)

# plugin: zsh_codex
test -r "${XDG_CONFIG_HOME-}"'/openaiapirc' || {
printf -- '[openai]\n'
printf -- 'organization_id = %s\n' "${OPENAI_ORGANIZATION_ID-}"
printf -- 'secret_key = %s\n' "${OPENAI_SECRET_KEY-}"
} >|"${XDG_CONFIG_HOME-}"'/openaiapirc' &&
bindkey '^X' create_completion &&
plugins+=(
zsh_codex
)

# plugin: fast-syntax-highlighting
# performs best when loaded late, but before zsh-history-substring-search
plugins+=(
Expand Down
1 change: 0 additions & 1 deletion custom/plugins/zsh_codex
Submodule zsh_codex deleted from 7858a6

0 comments on commit db4bbb1

Please sign in to comment.