Open vise890 opened 7 years ago
it also messes with my .bashrc
/ .bash_profile
. Sneakily!
I agree, we should cut it out and provide it as a separate script.
So would these be acceptable installation instructions?
git clone git://github.com/scmbreeze/scm_breeze.git ~/.scm_breeze
~/.scm_breeze/install.sh # creates alias config files (e.g. ~/.git.scmbrc, ~/.scmbrc) (do we even need these? can these be the defaults?)
echo 'source "$HOME/.scm_breeze/scm_breeze.sh"' >> ~/.bashrc
source ~/.bashrc
I'd be in favour of skipping the install script entirely, just use the current aliases as defaults; then we could just have:
git clone git://github.com/scmbreeze/scm_breeze.git ~/.scm_breeze
echo 'source "$HOME/.scm_breeze/scm_breeze.sh"' >> ~/.bashrc
source ~/.bashrc
No magic!
@g5pw you know you want to do this 👅
I was summoned :D what should I do? PR to update the README? I'm also in favor of killing install.sh
.
so .. yes, however i still think we should copy over the *.scmbrc
files (as per https://github.com/scmbreeze/scm_breeze/blob/master/install.sh#L32).
So maybe just strip down install.sh
to that line only for now and update the readme?
I'd rather have the modification of
.bashrc
/.zshrc
left to the user rather than the magicalinstall.sh
(and the added complexity of checking if the string is already present). Any thoughts?