Install script misrecognize bash as zshell
kriskova opened this issue · 4 comments
Hi!
First of all, thx for the version manager! It's really cool!
I had only one little problem: When I tried to install rsvm from my bash terminal with the provided command in the readme with curl and install.sh, somehow the installer created a .zshrc in my home directory and obviously, when i tried to use rsvm after restarting my terminal, bash didn't found it.
I'm on Linux Mint 17.3 Cinnamon 64bit, with close to stock bash and i have .bashrc in my home dir as well.
Hello, can you share commands results?
echo $ZSH_NAME
and echo $ZSH
Hi!. Sorry for the delay. Both commands print out nothing. Just like a single echo without parameters.
hmm.... if you inputted curl https://raw.git..../install.sh | sh <some_string>
or sh install.sh <some_string>
, current install script add to inject rsvm
initialize code to <some_string>
file.
so, error cases like these;
- processed on the zsh
sh
aliased another shell, this case is zsh. or wrong inputtedzsh
(like this;curl ... | zsh
)- pass
.zshrc
to first arguments of install script,
but, these all cases are human mistake. so, if really haven't mistake, I need more detail env
results. (but it can contain personal information)
ps. if still can't use rsvm, append [[ -s ".rsvm/rsvm.sh" ]] && . ".rsvm/rsvm.sh
to .bashrc
ps2. if you have times, please reinstall check and share results.
I tried the install script after a fresh linux install and now it did not misrecognized my bash as zshell so i close this issue. Thanks for the help and patience anyway :)