ohmyksh/ohmy.ksh

34 lines
390 B
Bash
Raw Permalink Normal View History

2020-07-15 16:28:24 -06:00
#!/bin/ksh
#${DEBUG}
2020-08-28 20:58:09 -06:00
OHMY_DO=${OHMY_DO:-doas}
2020-07-17 16:41:30 -06:00
# Stub our load functions
paths() {
return 0
}
2020-07-15 16:28:24 -06:00
2020-07-17 16:41:30 -06:00
load_extension() {
return 0
}
2020-07-15 16:28:24 -06:00
2020-07-17 16:41:30 -06:00
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