create empty theme config file during install

pull/2/head
Jorge Bucaran 9 years ago
parent c855e0024c
commit 7a7b0ff393

@ -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
}

Loading…
Cancel
Save