Personalizes a shell environment with configurable options.
# Installs NVM.
option -e nvm
# Customizes PATH.
option -e path
# Install SDKMAN!.
option -e sdkman
# Installs Starship.rs.
option -e starship
- Clone this repository to
~/.local/share/sh.env
. - Add the following to
.bashrc
(or.zshrc
, etc):. "$HOME/.local/share/sh.env/env.sh" "$HOME/.local/share/sh.env"
- Create a new or reload your shell session.
Run option -h
for usage information.
Usage: option [OPTION]
Manages shell personalization options.
OPTION
-e Enables an option.
-d Disables an option.
-h Displays this help message.
-l Lists available options.