-
Notifications
You must be signed in to change notification settings - Fork 27
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
setup not adding IDEasy to current shell #810
Comments
…nfw#810: setup in current shell devonfw#782: fix IDE_ROOT on linux/mac
I tried to fix this by adding the alias also to the current shell.
This will create a sub-process from the current terminal that has its own environment variables, aliases, functions, etc. while the users shell where he invoked the setup is the parent process that cannot be influenced by the sub-process by design of Unix/Posix standards.
or in other words:
As telling all our users they must run the setup this way is kind of pointless and fighting against windmills, I now have to admit that we cannot properly fix this by design. |
Was autoclosed by PR #811 - as explained above, I still need to add the according message. |
…ll needs to be started to use IDEasy
…s to be started to use IDEasy (#819)
Expected behavior
As a IDEasy user, I want to use IDEasy immediately after calling the setup script so that I can start using the product immediately and do not get confused by errors.
Actual behavior
In case I open a shell and run
setup
script from there the first time and then call someide
command, it will saySince I just ran the
setup
, I would expect this to work immediately.Steps to reproduce (bug) / Use Case of feature request (enhancement)
cd
to the_ide
folder.setup
ide help
Related/Dependent Issues
See also #779
Comments/Hints:
The
setup
script is registering ourselves to.bashrc
but does not apply the changes to the current existing shell.I would expect that the
ide
command (alias or function) also gets registered to the current shell.Workaround: type
bash
to run a new bash shell inside the existing one and then typeide help
and it will work.Affected version:
The text was updated successfully, but these errors were encountered: