create empty theme config file during install

This commit is contained in:
Jorge Bucaran 2015-08-27 06:15:17 +09:00
parent c855e0024c
commit 7a7b0ff393

View File

@ -103,6 +103,7 @@ omf_install() {
if [ ! -d "${OMF_CONFIG}" ]; then
echo "Writing Oh My Fish configuration → ${OMF_CONFIG}"
mkdir -p "${OMF_CONFIG}"
touch "${OMF_CONFIG}/theme"
test -f "${OMF_CONFIG}/revision" || echo ${git_rev} > "${OMF_CONFIG}/revision"
fi
}