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

When is synth-shell-prompt.root.config used? #222

Open
ga2k opened this issue Feb 10, 2022 · 9 comments
Open

When is synth-shell-prompt.root.config used? #222

ga2k opened this issue Feb 10, 2022 · 9 comments

Comments

@ga2k
Copy link

ga2k commented Feb 10, 2022

Hi, great work.

When is synth-shell-prompt.root.config used in place of synth-shell-prompt.config ?

I saw the red prompt once, but in my re-jigging to get things arranged to be synched across multiple computers, only the non-root one is ever used. No amount of logging in as root, 'sudo su'ing or whatever will now activate it.

Cheers,
Geoff.

@andresgongora
Copy link
Owner

andresgongora commented Feb 10, 2022 via email

@ga2k
Copy link
Author

ga2k commented Feb 10, 2022

Hi, thanks for the quick reply. I am doing both of these things. EXCEPT.. Hmmm. I have your script in /var/onedrive/bin (symlinked to /root/bin) and the configs in /var/onedrive/conf (simlinked to /root/.config)

Does it perhaps not like symlinks? When I had it installed directly to /root, I seem to think it worked...

@andresgongora
Copy link
Owner

andresgongora commented Feb 11, 2022 via email

@ga2k
Copy link
Author

ga2k commented Feb 11, 2022

Yes, .bashrc, .bash_aliases .bash_logout and .profile are all symlinked from the onedrive folder to /root/ and to each user's home folder, the bin folder where the script lives is symlinked, and the .config folder is too.

@andresgongora
Copy link
Owner

andresgongora commented Feb 11, 2022 via email

@ga2k
Copy link
Author

ga2k commented Feb 11, 2022 via email

@andresgongora
Copy link
Owner

andresgongora commented Feb 11, 2022 via email

@ga2k
Copy link
Author

ga2k commented Feb 15, 2022

I've removed everything and re-installed it for "all users" and that works so I'm leaving sleeping dogs lie :)

@andresgongora
Copy link
Owner

andresgongora commented Feb 15, 2022 via email

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

No branches or pull requests

2 participants