pixi icon indicating copy to clipboard operation
pixi copied to clipboard

`pixi shell` should restart when lockfile changes

Open wolfv opened this issue 1 year ago • 0 comments

We should implement a watch-hook or something so that pixi shell restarts anytime the lockfile/environment changes.

The problem is that new packages might need to run activation scripts, and the PATH needs to be "re-hashed" for bash and zsh.

We currently have some fixes for bash and zsh, but a proper fix would also work for any other shell. Restarting is probably the most effective way of achieving this.

wolfv avatar Mar 19 '24 16:03 wolfv