-
Notifications
You must be signed in to change notification settings - Fork 47
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[BUG]: eval "$(gh copilot alias -- bash)"
takes 0.5 second to load
#88
Comments
I have the same issue using |
I suspect this actually has more to do with @yermulnik @jarrodldavis, could you try setting |
@BagToad That helped performance a bit, but only reduced from 0.11s to 0.07s (according to |
> export TCELL_MINIMIZE=1
> time eval "$(gh copilot alias -- bash)"
real 0m1,250s
user 0m0,167s
sys 0m0,080s
# second run
> time eval "$(gh copilot alias -- bash)"
real 0m1,116s
user 0m0,120s
sys 0m0,037s 🤔 |
Ah, thanks for trying that out! Sounds like we have more investigating to do 😁 |
Same problem here and even slower in my good old Macpro: 1.7 sec. Ok, it is only a 12 core 3.3 Ghz Xeon but still: nothing it that slow. In the meantime, I've decided to cache it each day, commenting the line out and adding this to my .bashrc:
|
Have the same issue with bash in Arch under wsl
As a temporary fix I did
|
What happened?
What did you do? What happened? What did you expect to happen?
eval "$(gh copilot alias -- bash)"
took 0.5 sec to load (I'm the "User is not authorized to use this Copilot feature"). I'd expect it to load much faster as 0.5 sec is a way too slow.Versions
What versions of the relevant software are you running?
For example:
gh v2.37.0, gh-copilot v0.5.2-beta
gh version 2.52.0 (2024-06-24)
version 1.0.3 (2024-05-08)
Relevant terminal output
Please copy and paste any relevant terminal output.
Please check your output before submission to ensure sensitive information is redacted.
and another workstation:
Ubuntu and Mint if it matters.
The text was updated successfully, but these errors were encountered: