Skip to content

setup not adding IDEasy to current shell #810

@hohwille

Description

@hohwille

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 some ide command, it will say

ide: command not found

Since I just ran the setup, I would expect this to work immediately.

Steps to reproduce (bug) / Use Case of feature request (enhancement)

  1. ensure IDEasy is not yet installed
  2. download and unpack IDEasy as described
  3. open a shell (on Mac or Linux a bash) and cd to the _ide folder.
  4. run setup
  5. run 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 type ide help and it will work.

Affected version:

  • 2024.12.001-beta-SNAPSHOT

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

Projects

Status

✅ Done

Relationships

None yet

Development

No branches or pull requests

Issue actions