Renamed the function to _bash-it_update_migrate_and_restart Use pushd/popd instead of passing another parameter Document the function so it will be clear that it does not return
Renamed the function to _bash-it_update_migrate_and_restart Use pushd/popd instead of passing another parameter Document the function so it will be clear that it does not return