diff --git a/ohmy.ksh b/ohmy.ksh index 2fdf869..8604954 100755 --- a/ohmy.ksh +++ b/ohmy.ksh @@ -2,9 +2,30 @@ #${DEBUG} -LOAD_PATH="$OHMYKSH_DIR" +# Stub our load functions +paths() { + return 0 +} -. ${LOAD_PATH}/lib/loader.ksh +load_extension() { + return 0 +} -set -A completions -- -set -A extensions -- +load_completion() { + return 0 +} + +set_prompt() { + return 0 +} + +if [ -z $OHMYKSH_DIR ]; then + echo "Please set OHMYKSH_DIR to the location of ohmyksh" +else + LOAD_PATH="$OHMYKSH_DIR" + + . ${LOAD_PATH}/lib/loader.ksh + + set -A completions -- + set -A extensions -- +fi