kevincobain2000 / gobrew

Go version manager, written in Go. Super simple tool to install and manage Go versions. Install go without root. Gobrew doesn't require shell rehash.
https://medium.com/web-developer/go-version-manager-gobrew-c8750157dfe6
MIT License
358 stars 24 forks source link

`git.io.sh` could also set the PATH #164

Closed kevincobain2000 closed 7 months ago

kevincobain2000 commented 7 months ago

There is a README instruction as below, which is required after the installation by the user. If git.io.sh could auto judge what shell and rc file a user may have and append that string for the user after the installation.

export PATH="$HOME/.gobrew/current/bin:$HOME/.gobrew/bin:$PATH"
juev commented 7 months ago

As far as I know, a number of programs add configuration to all possible configuration files for many shells.

Trying to determine what shell the user is using and what configuration files are very difficult. For example, because I can use fish, but the script is launched from sh.

kevincobain2000 commented 7 months ago

Thanks.