mirror of
https://github.com/oh-my-fish/oh-my-fish.git
synced 2024-11-22 09:16:08 +08:00
install: resolve bundle if existent, otherwise create file
This commit is contained in:
parent
0a195572a1
commit
102771b73c
|
@ -100,7 +100,10 @@ omf_install() {
|
|||
echo "Writing Oh My Fish configuration → ${OMF_CONFIG}"
|
||||
mkdir -p "${OMF_CONFIG}"
|
||||
touch "${OMF_CONFIG}/theme"
|
||||
touch "${OMF_CONFIG}/bundle"
|
||||
test -f "${OMF_CONFIG}/revision" || echo ${git_rev} > "${OMF_CONFIG}/revision"
|
||||
else
|
||||
fish -c "omf install"
|
||||
fi
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user