Added LICENSE, extended README and Makefile

This commit is contained in:
2014-01-09 06:46:38 +01:00
parent dc103a0dd9
commit 25eb97b311
3 changed files with 45 additions and 7 deletions

View File

@@ -11,6 +11,21 @@ might need to be changed on different systems.
## Usage ##
Bundled with shellchooser is a small Makefile to ease installation of the
script. Simply run `make install` to install shellchooser.sh into /bin and the
profile/bashrc/cshrc files into /etc/shellchooser. The installation also put
/bin/shellchooser.sh into /etc/shells so that system utilities won't complain
about it not being a valid shell.
profile/bashrc/cshrc files into /etc/shellchooser/. The installation will also
put /bin/shellchooser.sh into /etc/shells so that system utilities won't
complain about it not being a valid shell. Note that `make install` will fail
if you don't have all the required shells install on your system. The make
command will tell you which shells you are missing so that you can install them
on your system. See below how to install shells on some various systems.
To uninstall all of the files from the system including removing
shellchooser.sh from /etc/shells simply run `make uninstall` from this
directory.
Simply running `make` will print some short usage of the Makefile and which
shells your system have installed (and which shells you should have installed).
## Install Bash, Ash and Csh ##
### Debian/Ubuntu ###
`sudo apt-get install <shell>`
### OpenSuSE ###
`zypper install <shell>`