mirror of
https://github.com/romkatv/powerlevel10k.git
synced 2024-11-24 05:00:07 +00:00
wizard: replace rm with zf_rm (#2504)
This commit is contained in:
parent
3cc18b5e08
commit
36cce9a088
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||||
rm $__p9k_cfg_path || return
|
zf_rm -f -- $__p9k_cfg_path || return
|
||||||
fi
|
fi
|
||||||
print -lr -- "$header" "$lines[@]" >$__p9k_cfg_path
|
print -lr -- "$header" "$lines[@]" >$__p9k_cfg_path
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue