
. _gotoutils # load common utils 
load_gotopath


echo "Step 1: Setting up magic data folder in $GOTOPATH"
create_goto_folders "$GOTOPATH" || check_status


echo "Step 2: add goto startup script to bash config file"
write_init_command_to_rcfile
echo "Close and reopen your terminal, and goto will now work it's magic."


# make goto ready -- now.
source start_goto || check_status

# add your first project
project add goto || check_status

# set the context to this project
project goto || check_status

# add your first shortcuts
goto add goto https://github.com/technocake/goto || check_status
goto add github https://github.com/technocake/goto || check_status


echo Installation Succesful!
