Skip to content
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

PATH environment variable gets corrupted #248

Open
magarin-irg opened this issue Sep 2, 2023 · 0 comments
Open

PATH environment variable gets corrupted #248

magarin-irg opened this issue Sep 2, 2023 · 0 comments

Comments

@magarin-irg
Copy link

After installing dotly framework, PATH environment variable got corrupted. When terminal starts and shell loads it adds several paths to this variable. Those new paths added by dotly are correctly separated by colons (':'), however, all those paths that already were in PATH before dotly installation changed and now are separated by white spaces. As a consequence many commands which executable is located in those paths are not available anymore. I detected the problem with both, bash and zsh.

As a temporary workaround I added export PATH=$(echo $PATH|tr ' ' :) to .zshrc and .bashrc files. I've been trying to find where dotly manipulates PATH but I didn't succeed. When it comes to $DOTFILES_PATH/shell/exports.sh the PATH is already corrupted. Sorry for my clumsiness.

My system is an Ubuntu 22.04.3 LTS with GNOME and I use the terminal provided by default (gnome-terminal).

This is how PATH looks like when corrupted:
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant