|
|
@ -1950,7 +1950,7 @@ function generate_config() {
|
|
|
|
command mkdir -p -- ${__p9k_cfg_path:h} || return
|
|
|
|
command mkdir -p -- ${__p9k_cfg_path:h} || return
|
|
|
|
|
|
|
|
|
|
|
|
if [[ -e $__p9k_cfg_path ]]; then
|
|
|
|
if [[ -e $__p9k_cfg_path ]]; then
|
|
|
|
unlink $__p9k_cfg_path || return
|
|
|
|
rm $__p9k_cfg_path || return
|
|
|
|
fi
|
|
|
|
fi
|
|
|
|
print -lr -- "$header" "$lines[@]" >$__p9k_cfg_path
|
|
|
|
print -lr -- "$header" "$lines[@]" >$__p9k_cfg_path
|
|
|
|
}
|
|
|
|
}
|
|
|
|