mirror of
https://github.com/oh-my-fish/oh-my-fish.git
synced 2024-11-22 08:13:38 +08:00
create empty theme config file during install
This commit is contained in:
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…
Reference in New Issue
Block a user