-
Notifications
You must be signed in to change notification settings - Fork 99
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
Installation for all users? #23
Comments
For what its worth, I got this running by doing a git clone into /opt. Then, create file as /etc/profile.d/pureline.sh
This can probably have a bit more tweaking, but will import the default config if no config is provided. It also allows each user to customise their own prompt. |
Yep your right, PureLine should have a proper installation method. I'm going to try and commit a bit more time to the project and aim for a feature freeze and stable release. Then it should easier to work on distro packages to install system wide. |
I've just tried this - with not very much success. # source external segments
local segment_dir
segment_dir=$(dirname "${BASH_SOURCE[0]}")'/segments' Sourcing Is there a better way? (Instead of sourcing 2 files, I just source pureline in the profile script and directly add the configuration content afterwards.) |
Nevermind... Adding my config into the profile-script instead of sourcing it was my mistake. Out of interest... can someone explain me the difference between source a.sh b.sh and source a.sh
source b.sh ? 😅 |
Is there any hints / howto on how to install this for all users?
I would get that the source should exist in /etc/profile.d/something
Then install under /usr/local? or /opt?
The text was updated successfully, but these errors were encountered: