Skip to content
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

Cli completions not working on Mac #451

Open
3 tasks done
LePtiDev opened this issue Jan 16, 2025 · 13 comments
Open
3 tasks done

Cli completions not working on Mac #451

LePtiDev opened this issue Jan 16, 2025 · 13 comments

Comments

@LePtiDev
Copy link

Checks

Operating system

macOS 15.2.0 (24C101)

Expected behaviour

When i start a command like "cd" the commande i should have something like this

Image

Actual behaviour

When i start a commande "cd" nothing appear i my terminal. I tried with Iterm2 (3.5.11) and my terminal and nothing works.
When i use the vscode terminal the menu with the folders appear.

Enregistrement.de.l.ecran.2025-01-16.a.21.38.58.mov

Steps to reproduce

I juste install it and activate it and after add the shell integration in the settings

Environment

[q-details]
version = "1.6.0"
hash = "6d13844d6546a5c29e7e121450af1130eb189e7f"
date = "2025-01-09T00:47:39.704258Z (8d ago)"
variant = "full"

[system-info]
os = "macOS 15.2.0 (24C101)"
chip = "Apple M4"
total-cores = 10
memory = "16.00 GB"

[environment]
cwd = "/Users/USER"
cli-path = "/Users/USER"
os = "Mac"
shell-path = "/bin/zsh"
shell-version = "5.9"
terminal = "iTerm 2"
install-method = "brew"

[env-vars]
PATH = "/Users/USER/.cargo/bin:/Users/USER/.nvm/versions/node/v22.13.0/bin:/Library/Frameworks/Python.framework/Versions/3.13/bin:/opt/homebrew/bin:/opt/homebrew/sbin:/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/iTerm.app/Contents/Resources/utilities:/Users/USER/.local/bin"
QTERM_SESSION_ID = "8dfcc443b5e4422fa7385229cf8c2cb3"
Q_SET_PARENT_CHECK = "1"
Q_TERM = "1.6.0"
SHELL = "/bin/zsh"
TERM = "xterm-256color"
__CFBundleIdentifier = "com.googlecode.iterm2"
@brandonskiser
Copy link
Contributor

Have you also tested with other terminals, e.g. the default macOS Terminal? I've seen some custom iTerm setups cause issues with our app - you can try running q debug shell to see if that resolves it.

@LePtiDev
Copy link
Author

LePtiDev commented Feb 3, 2025

Hello @brandonskiser,
Thanks for your advices. I tried but nothing work.
I tried with ITerm and the default macOS Terminal but nothing happen.
When i try to use it in the vscode terminal it's work but only in the vscode terminal

@TY37zhang
Copy link

Having the same issue here; however, I'm on Mac, so UNIX, and I need to manually reopen Amazon Q and reconfigure shell integration to get it to work.

@LePtiDev
Copy link
Author

LePtiDev commented Feb 9, 2025

Thanks @TY37zhang i tried but nothing change 👎
I hope somebody will fix that for you also

@Garett601
Copy link

Have the exact same issue - tried all the suggestions and nothing is resolving the issue

@LePtiDev
Copy link
Author

Any idea how to solve it ? I still stuck on my bug

@TY37zhang
Copy link

I just manually quit Amazon Q and reopen it, and sometimes that doesn't work. I try to re-enable integration with Hyper (my choice). I think it has something to do with MacOS shell's behavior after sleep and wake...

@LePtiDev
Copy link
Author

@TY37zhang it's fix the issue for you to restart ? Because i tried to restart again and again but nothing append..

@TY37zhang
Copy link

99% of the time, it works, restart the app, but there are occasional times that it does not work.
I don't recall the app having any issue before it was acquired by Amazon...
At this point, I might switch back to Wrap since they have this function built in IRC, though it's way heavier than Hyper.

@LePtiDev
Copy link
Author

I tried with hyper also but it's still doesn't work. I tried to delete it and tried again but nothing happen. It's still work in my vscode terminal but not in mac os terminal, hyper, Iterm2. Any other ideas ?

@LePtiDev
Copy link
Author

No body work on this repository ?

@brandonskiser
Copy link
Contributor

Hey sorry for the late response on this - might need some more information about your setup to debug this. Could be an issue related to accessibility. Can you maybe try another terminal that depends on input method being installed instead? e.g. one of the listed terminals here

VSCode uses a plugin that might lead to it working and others failing otherwise.

@LePtiDev
Copy link
Author

I tried with kitty and it's working.. I run the commande line:
q integrations install input-method
restart the shell and it's working on kitty.

But not on iterm. I tried the same commande but nothing happends

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants