$(gimme-aws-creds) doesn't work on zsh
See original GitHub issueWhen running $(gimme-aws-creds) on zsh, I get the following error: zsh: command not found: #.
Expected Behavior
I expect this command to also work on zsh.
Current Behavior
The above described error occurs and the env variables are not set.
Possible Solution
Remove the comment from the output or make it dependent on the shell being used (i.e. $SHELL).
Steps to Reproduce (for bugs)
- Use
zshas the shell - Run
$(gimme-aws-creds)
Context
I had to run gimme-aws-creds and then copy the output and run it manually.
Your Environment
- App Version used: gimme-aws-creds 2.1.3
- Environment name and version: zsh 5.7.1
- Operating System and version: macOS 10.15.1
Issue Analytics
- State:
- Created 4 years ago
- Reactions:5
- Comments:21
Top Results From Across the Web
gimme-aws-creds throws error while registering the MFA device
I am trying to configure gimme-aws-creds with below configuration [DEFAULT] okta_org_url = https://xxxxx.okta.com okta_auth_server ...
Read more >Gimme AWS Creds – Installation and Usage - YouTube
Use or want a VPN for your privacy and/or security? Why not consider NordVPN?! It's what I personally use, and every purchase benefits...
Read more >gimme-aws-creds - Homebrew Formulae
CLI to retrieve AWS credentials from Okta. https://github.com/Nike-Inc/gimme-aws-creds. License: Apache-2.0. Formula JSON API: /api/formula/gimme-aws-creds.
Read more >Troubleshooting AWS CLI errors - AWS Command Line Interface
The AWS CLI might be reading credentials from a different location than you expect, or your key pair information is incorrect. You can...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
you could try
cd ~find -name gimme-aws-credsteoretically it should be./.local/bin/gimme-aws-credsalso you can add
export PATH=~/.local/bin:$PATHin ~/.zshrc file and restart terminalAdded PR https://github.com/Nike-Inc/gimme-aws-creds/pull/192