Commit 102771b7 authored by Derek Stavis's avatar Derek Stavis

install: resolve bundle if existent, otherwise create file

parent 0a195572
...@@ -100,7 +100,10 @@ omf_install() { ...@@ -100,7 +100,10 @@ omf_install() {
echo "Writing Oh My Fish configuration → ${OMF_CONFIG}" echo "Writing Oh My Fish configuration → ${OMF_CONFIG}"
mkdir -p "${OMF_CONFIG}" mkdir -p "${OMF_CONFIG}"
touch "${OMF_CONFIG}/theme" touch "${OMF_CONFIG}/theme"
touch "${OMF_CONFIG}/bundle"
test -f "${OMF_CONFIG}/revision" || echo ${git_rev} > "${OMF_CONFIG}/revision" test -f "${OMF_CONFIG}/revision" || echo ${git_rev} > "${OMF_CONFIG}/revision"
else
fish -c "omf install"
fi fi
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment