Stop loading github copilot

This commit is contained in:
Jonny Barnes 2024-09-20 21:11:02 +01:00
parent 2164512568
commit 8a3cdacaaa
Signed by: jonny
SSH key fingerprint: SHA256:CTuSlns5U7qlD9jqHvtnVmfYV3Zwl2Z7WnJ4/dqOaL8
2 changed files with 0 additions and 18 deletions

View file

@ -86,10 +86,6 @@ apply = ["defer"]
local = "~/.zsh/plugins" local = "~/.zsh/plugins"
apply = ["defer"] apply = ["defer"]
[plugins.thefuck]
local = "~/.zsh/plugins"
apply = ["defer"]
# This works best if it is placed last. # This works best if it is placed last.
[plugins.compinit] [plugins.compinit]
local = "~/.zsh/plugins" local = "~/.zsh/plugins"
@ -98,10 +94,6 @@ apply = ["defer"]
# Plugins that are even more deferred # Plugins that are even more deferred
# ----------------------------------- # -----------------------------------
[plugins.github-copilot]
local = "~/.zsh/plugins"
apply = ["defer-more"]
[plugins.ngrok] [plugins.ngrok]
local = "~/.zsh/plugins" local = "~/.zsh/plugins"
apply = ["defer-more"] apply = ["defer-more"]

View file

@ -1,10 +0,0 @@
#!/usr/bin/env zsh
# Setup GitHub Copilot
# first check we even have the genereic `gh` command
if (( ${+commands[gh]} )); then
# Now check we have the copilot plugin installed with `gh`
if gh extension list | rg copilot -c > /dev/null; then
eval "$(gh copilot alias -- zsh)"
fi
fi