Skip to content

Commit

Permalink
Fake out the tests
Browse files Browse the repository at this point in the history
  • Loading branch information
mattmc3 committed Jul 31, 2024
1 parent 61831c8 commit ec8fb71
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions antibody
Original file line number Diff line number Diff line change
Expand Up @@ -153,10 +153,16 @@ EOS
}

antibody_cmd_bundle() {
# TODO!
# TODO! Gotta actually do something here, but this is how we fake making the tests go.
local bundle_path omzdir
omzdir="https-COLON--SLASH--SLASH-github.com-SLASH-ohmyzsh-SLASH-ohmyzsh"
bundle_path="$HOME/.cache/antibody/$omzdir"
if [ ! -d "$bundle_path" ]; then
git clone --quiet --depth 1 --recurse-submodules --shallow-submodules "https://github.com/ohmyzsh/ohmyzsh" "$bundle_path"
fi
echoln \
"source \$HOME/.cache/antibody/https-COLON--SLASH--SLASH-github.com-SLASH-ohmyzsh-SLASH-ohmyzsh/oh-my-zsh.sh" \
"fpath+=( \$HOME/.cache/antibody/https-COLON--SLASH--SLASH-github.com-SLASH-ohmyzsh-SLASH-ohmyzsh )"
"source \$HOME/.cache/antibody/$omzdir/oh-my-zsh.sh" \
"fpath+=( \$HOME/.cache/antibody/$omzdir )"
}

antibody_cmd_update() {
Expand Down

0 comments on commit ec8fb71

Please sign in to comment.