You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For the past little while I've been having some issues with my computers login screen. After putting it off for far to long (read months...) I did some digging and believe it was caused by installing this package.
I'm running a Debian system, and if I follow the installation instructions:
pip3 install awsume
awsume-configure
I found the following is added to my ~/.profile:
#AWSume alias to source the AWSume scriptalias awsume="source awsume"#Auto-Complete function for AWSume_awsume() {
local cur prev opts
COMPREPLY=() #### <---- this line is causing errors
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
Now from what I can see in the source code, this is exactly as we're intending when running this command. However I believe this is using a non-posix feature, and at least in Debian ~/.profile is executed using sh which was causing my login screen to fail.
Hi there! Thanks for this project!
For the past little while I've been having some issues with my computers login screen. After putting it off for far to long (read months...) I did some digging and believe it was caused by installing this package.
I'm running a Debian system, and if I follow the installation instructions:
I found the following is added to my
~/.profile
:Now from what I can see in the source code, this is exactly as we're intending when running this command. However I believe this is using a non-posix feature, and at least in Debian
~/.profile
is executed usingsh
which was causing my login screen to fail.Here is at least one related issue that the rust community fixed suggesting it might be worth keeping
~/.profile
posix compliant.And finally here's a quick debian repro:
docker run --rm debian:buster-slim /bin/bash -c "sh ~/.profile && apt update && apt install -y python3 python3-pip && pip3 install awsume && awsume-configure && sh ~/.profile"
The text was updated successfully, but these errors were encountered: