Closed joebywan closed 1 year ago
Same for me, Linux Mint 20.3. Even worse, awsume crashes terminal session.
Did you try to update the alias by using the absolute path alias awsume="source <PATH/TO/AWSUME>/awsume"
Check in a new tab (or source ~/.bashrc
resp. source ~/.bash_profile
)
I notice this issue, including where awsume crashes the terminal session, only when I have more than one install of awsume, such as where its installed with pipx, and in a seperate venv.
I had the same issue, however I realised that I had installed Awsume outside of a venv. Once I uninstalled it, and installed it again inside my venv, everything worked perfectly.
issue resolved by https://github.com/trek10inc/awsume/issues/183 -> root cause pertains to dash being default shell on Debian systems. #183 prevents autocomplete script from being used for cases in which dash is default shell.
OS is linux mint 20.3 cinnamon.
I've run awsume-configure and it's added the following to my ~/.profile:
`#AWSume alias to source the AWSume script alias awsume="source awsume"
Auto-Complete function for AWSume
_awsume() { local cur prev opts COMPREPLY=() cur="${COMP_WORDS[COMP_CWORD]}" prev="${COMP_WORDS[COMP_CWORD-1]}" opts=$(awsume-autocomplete) COMPREPLY=( $(compgen -W "${opts}" -- ${cur}) ) return 0 } complete -F _awsume awsume `
I've tried creating and adding it to ~/.bashrc also, no luck there.
Any suggestions? Anymore info I can provide?