Added shebash line and fix some issues

This commit is contained in:
Toan Nguyen
2017-03-20 19:51:00 +07:00
parent 14d571a5d5
commit ea1c9371e1
17 changed files with 207 additions and 135 deletions

View File

@@ -1,6 +1,8 @@
#!/usr/bin/env bash
# Check for updates on initial load...
if [ "$DISABLE_AUTO_UPDATE" != "true" ]; then
env OSH=$OSH DISABLE_UPDATE_PROMPT=$DISABLE_UPDATE_PROMPT sh -f $OSH/tools/check_for_upgrade.sh
env OSH=$OSH DISABLE_UPDATE_PROMPT=$DISABLE_UPDATE_PROMPT bash -f $OSH/tools/check_for_upgrade.sh
fi
# Initializes Oh My Bash