Replies: 14 comments 2 replies
-
Maybe this isn't specific to zsh -- this looks like what happened to me on fish (for some time now). |
Beta Was this translation helpful? Give feedback.
-
My zsh is also slow. Do you see |
Beta Was this translation helpful? Give feedback.
-
After removing all traces of Amazon Q CLI to try to improve slowness, it seemed to finally be the scripts it adds to I do like having Amazon Q in the CLI, but I don't need it always running or especially slowing down every time I open a new shell. I'd much rather have to wait when I actually need to use it. I understand the autocomplete stuff probably needs to be preloaded, but if you're just using the chat features, this could surely load on-demand, i would think. |
Beta Was this translation helpful? Give feedback.
-
I'm having the same issue: VideoScreenshot.2024-10-10.at.02.23.44.PM.mp4q diagnostic[q-details]
version = "1.4.5"
hash = "804bfdf011c861a45b106573ced14fc088598781"
date = "2024-09-26T21:37:06.944937Z (14d ago)"
[system-info]
os = "macOS 15.0.1 (24A348)"
chip = "Intel(R) Core(TM) i7-9750H CPU @ 2.60GHz"
total-cores = 6
memory = "16.00 GB"
[environment]
cwd = "/Users/USER"
cli-path = "/Users/USER/.local/bin/q"
shell-path = "/bin/zsh"
shell-version = "5.9"
terminal = "iTerm 2"
install-method = "brew"
[env-vars]
PATH = "/usr/local/sbin:/Users/USER/Library/pnpm:/usr/local/opt/python/libexec/bin:/usr/local/opt/[email protected]/bin:/usr/local/opt/node@20/bin:/usr/local/bin:/System/Cryptexes/App/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/local/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/appleinternal/bin:/Library/Apple/usr/bin:/Applications/Little Snitch.app/Contents/Components:/Applications/iTerm.app/Contents/Resources/utilities:/Users/USER/.local/bin"
QTERM_SESSION_ID = "8135ff08ec6e456f860a931c2edef8be"
Q_SET_PARENT_CHECK = "1"
Q_TERM = "1.4.5"
SHELL = "/bin/zsh"
TERM = "xterm-256color"
__CFBundleIdentifier = "com.googlecode.iterm2" |
Beta Was this translation helpful? Give feedback.
-
I've been dealing with this issue. After taking some time to investigate, I discovered that it’s related to enabling Q in VSCode. When I commented out the following line in vscode settings: "terminal.integrated.env.osx": {
// "Q_NEW_SESSION": "1"
}, the delay stopped occurring, but as a result, Amazon Q also stopped working. |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
I have the same issue. |
Beta Was this translation helpful? Give feedback.
-
Came to log this as well. zsh load times:
|
Beta Was this translation helpful? Give feedback.
-
I too was annoyed by this and I moved to a manual Q enablement:
manually_init_Q_because_AWS_is_customer_hostile() {
# Amazon Q pre block for .zprofile
[[ -f "${HOME}/Library/Application Support/amazon-q/shell/zprofile.pre.zsh" ]] && builtin source "${HOME}/Library/Application Support/amazon-q/shell/zprofile.pre.zsh"
# Amazon Q post block for .zprofile
[[ -f "${HOME}/Library/Application Support/amazon-q/shell/zprofile.post.zsh" ]] && builtin source "${HOME}/Library/Application Support/amazon-q/shell/zprofile.post.zsh"
# Amazon Q pre block for .zshrc
[[ -f "${HOME}/Library/Application Support/amazon-q/shell/zshrc.pre.zsh" ]] && builtin source "${HOME}/Library/Application Support/amazon-q/shell/zshrc.pre.zsh"
# Amazon Q post block for .zshrc
[[ -f "${HOME}/Library/Application Support/amazon-q/shell/zshrc.post.zsh" ]] && builtin source "${HOME}/Library/Application Support/amazon-q/shell/zshrc.post.zsh"
} Beware: Amazon Q often re-enables itself and the Amazon Q app is full of dark patterns that will re-add those lines to |
Beta Was this translation helpful? Give feedback.
-
After dealing with this issue and uninstalling Amazon Q CLI, I thought I'd try it again, and I found that they now have a "Skip" option in the install wizard to avoid the take over of your shell. You have to wait a few seconds for it to show up and click it on a few of the steps. When you're done, |
Beta Was this translation helpful? Give feedback.
-
I've conducted extensive analysis of the scripts that Amazon Q CLI injects into the shell, and have logged a bug report here: #844 |
Beta Was this translation helpful? Give feedback.
-
I found a simple way to put Amazon Q directly into the Trash on Mac, which restores the original speed of the command line, but also makes Amazon Q inaccessible. When I need to use it again, I can drag Amazon Q back from the Trash to its original location, and it becomes usable again. 🤣 |
Beta Was this translation helpful? Give feedback.
-
Any update on this @aws? I completed extensive debugging for you several weeks back on #844 |
Beta Was this translation helpful? Give feedback.
-
Any update on this @aws? Been quite a while and it's still slows down users terminal sessions to the point where they uninstall it. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Same as aws/q-command-line-discussions#123 (seems to have regressed)
Screen.Recording.2024-09-17.at.12.29.46.PM.mov
Beta Was this translation helpful? Give feedback.
All reactions