move udot submodule update after git pull

This commit is contained in:
2016-08-04 22:20:17 +02:00
parent f25c0ac368
commit a83cf9446a

View File

@@ -19,11 +19,6 @@ udot() {
echo -e "$info"
echo -e ""
echo -e "Update submodules..."
git submodule init
git submodule update
echo -e ""
if [ -z "$status" ]; then
echo -e "Local changes:"
echo -e "$gstatus"
@@ -41,6 +36,10 @@ udot() {
cd $cwd
fi
echo -e ""
echo -e "Update submodules..."
git submodule init
git submodule update
echo -e ""
}
# will attach to existing tmux session, create new if one does not exist or just start bash if there is no tmux available.