Skip to content

Commit

Permalink
wizard: replace rm with zf_rm (#2504)
Browse files Browse the repository at this point in the history
  • Loading branch information
romkatv committed Dec 9, 2023
1 parent 3cc18b5 commit 36cce9a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/wizard.zsh
Original file line number Diff line number Diff line change
Expand Up @@ -1950,7 +1950,7 @@ function generate_config() {
command mkdir -p -- ${__p9k_cfg_path:h} || return

if [[ -e $__p9k_cfg_path ]]; then
rm $__p9k_cfg_path || return
zf_rm -f -- $__p9k_cfg_path || return
fi
print -lr -- "$header" "$lines[@]" >$__p9k_cfg_path
}
Expand Down

0 comments on commit 36cce9a

Please sign in to comment.