EivindArvesen / prm

A minimal project manager for the terminal.
BSD 3-Clause "New" or "Revised" License
443 stars 18 forks source link

Support for basher[1] to install prm. #4

Open heynemann opened 9 years ago

heynemann commented 9 years ago

basher[1] is a package manager for bash scripts and functions. This change allows the installation of this script using:

basher install eivind88/prm

[1] https://github.com/basherpm/basher

EivindArvesen commented 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).

EivindArvesen commented 9 years ago

Also: why the second commit (login shell)?

heynemann commented 9 years ago

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.

EivindArvesen commented 9 years ago

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?

heynemann commented 9 years ago

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.