Open heynemann opened 9 years ago
I'm thinking this should append an alias to the user .bashrc
or .bash_profile
, or at the very least echo a message about proper usage (e.g. propose that the user make an alias) post install, as prm must be sourced to work properly (see readme).
Also: why the second commit (login shell)?
Terribly sorry. Disregard this PR. I committed the login change by accident.
But with basher installing it is much easier. And all you need is a bin folder.
That's why I thought it would be useful. Em 19/09/2015 12:53, "Eivind Arvesen" notifications@github.com escreveu:
Also: why the second commit (login shell)?
— Reply to this email directly or view it on GitHub https://github.com/eivind88/prm/pull/4#issuecomment-141682969.
Ok.
I agree that installation via a package manager is an optimal solution, and have opened an issue related to this, but this needs to include an append (alias) to a user dotfile or at least a message regarding proper use of prm (i.e. sourcing the script), e.g. via a post-install hook.
Byt the way – since I have no experience with basher – how does it compare to the alternatives outlined in the issue (i.e. OS-specific, as opposed to language-specific) and their prevalence/popularity?
Basher includes it in the user's PATH.
That way there's no need to change bashrc. Em 19/09/2015 22:11, "Eivind Arvesen" notifications@github.com escreveu:
Ok.
I agree that installation via a package manager is an optimal solution, and have opened an issue https://github.com/eivind88/prm/issues/5 related to this, but this needs to include an append (alias) to a user dotfile or at least a message regarding proper use of prm (i.e. sourcing the script), e.g. via a post-install hook.
Byt the way – since I have no experience with basher – how does it compare to the alternatives outlined in the issue (i.e. OS-specific, as opposed to language-specific) and their prevalence/popularity?
— Reply to this email directly or view it on GitHub https://github.com/eivind88/prm/pull/4#issuecomment-141723720.
basher[1] is a package manager for bash scripts and functions. This change allows the installation of this script using:
[1] https://github.com/basherpm/basher