-
Notifications
You must be signed in to change notification settings - Fork 84
Install
Simply run this command from your terminal.
curl -OL https://bashhub.com/setup && $SHELL setup
For non default login shells, just specify the shell e.g. (bash setup
, zsh setup
, fish setup
)
This will pulldown and run bashhub's installation file. If all is well you should see something like this:
____ _ _ _
| _ \ | | | | | |
| |_) | __ _ ___| |__ | |__ _ _| |__ ___ ___ _ __ ___
| _ < / _` / __| '_ \| '_ \| | | | '_ \ / __/ _ \| '_ ` _ \
| |_) | (_| \__ \ | | | | | | |_| | |_) | (_| (_) | | | | | |
|____/ \__,_|___/_| |_|_| |_|\__,_|_.__(_)___\___/|_| |_| |_|
Welcome to bashhub setup!
Are you a new user? [Y/n] y
What's your email? [email protected]
What username would you like? ryan
Last thing you'll have to do is close and restart your terminal.
Should be good to go! Please close and restart your terminal session.
Concerns about what this does? No worries it's all open sourced and can be found here Bashhub Installation on Github.
Just rerun the initial installation command.
Bashhub will setup a directory at $HOME/.bashhub
that contains a few scripts and a python virtual environment. If you check your bash profile you should see the installation hook.
### Bashhub.com Installation
if [ -f ~/.bashhub/bashhub.sh ]; then
source ~/.bashhub/bashhub.sh
fi
Depending on what you use to configure your terminal (.profile, .bashrc, .bash_profile), this installation hook may need to be moved to the appropriate place.
Bashhub's not for you? Sorry. Uninstall is super simple.
rm -r ~/.bashhub
That's it.