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
Cannot use in fish shell #92
Comments
Hey @c-bandy I am using the following in a function, which loads on init of the fish shell. I don't know if the autoawsume works.. I usually for the sake of it refresh the session so I am confident that I am working on the correct AWS Profile.
If you exec |
Thanks for your suggestion. I tried this and indeed it works! It however seems to hang when you use Thanks for the workaround! This will keep me happy for now. It would be great to have it work natively though. |
For anyone else running into this - I ended up rewriting your function. I think this implementation is a bit more portable if your Python isn't in function awsume
bass source (which awsume) $argv
end |
@c-bandy I am using a very similar function, its been working well for me for a few months now! |
Did you also find a solution for autocompletion? |
Happy holidays! Finally getting around to this, we wrote a dedicated fish shell script (in When installing awsume, if you have a alias awsume="source (which awsume.fish)" Unless you're using pyenv, in which case it'll look like this: alias awsume="source (pyenv which awsume.fish)" Support for This is currently released under |
Hey @mbarneyjr First of all, great work! Awsume to see this return! With the pre-release however of 4.5.1a1 and 1a2 I'm getting the following still when doing a list of profiles. Might be PEBCAK:
|
Sorry for the delays, but Fish shell autocomplete has been implemented in 4.5.1a3, let us know if you hit any other bugs! @Prophecy67 Looking at the error message, it's a common one I received when trying to use colorama on Windows, which is why it should be disabled on Windows machines by default. However, it looks like you're using a unix like OS such as OS X with your |
I've released 4.5.1 that should support fish shell completely. If you have any issues, please re-open this issue or create a new one, thank you! |
Nice, works great, however somehow no alias was created for me automatically for the fish shell. I have added this file alias awsume="source (which awsume.fish)" This is how install messages looked like btw. $ pipx install awsume
installed package awsume 4.5.3, Python 3.8.10
These apps are now globally available
- autoawsume
- awsume
- awsume-autocomplete
- awsume-configure
- awsume.bat
- awsume.fish
- awsume.ps1
- awsumepy
done! ✨ 🌟 ✨ |
Hey @ibqn! This Alias should/will be configured if you run That should configure everything for you, and no longer need this issue or workaround, especially since it is a closed issue. Hope that solves all of your issues you have with awsume! |
On a new setup, I'm aliasing the script as of #71, however there appears to be some kind of syntax that breaks in fish.
I'm not too savvy on why this would happen, it almost seems like the script is interpreted in fish instead of bash? If so then maybe using bass to expand the alias isn't the right approach when using fish.
By the way, I tried to do
bass source awsume
but I can't get it working now.The text was updated successfully, but these errors were encountered: