aboutsummaryrefslogtreecommitdiff
path: root/internal/wizard.zsh
diff options
context:
space:
mode:
authorRoman Perepelitsa <roman.perepelitsa@gmail.com>2023-12-09 11:36:04 +0300
committerRoman Perepelitsa <roman.perepelitsa@gmail.com>2023-12-09 11:36:04 +0300
commit3cc18b5e084651ce7a8fcb730b351cd5dc687d86 (patch)
tree536e1f5fd391c6c2bf9b06fe4349fc8e2ca29936 /internal/wizard.zsh
parent47b0187a675afed6b49007fe1915b2c0fe94b7bc (diff)
parent44f754d711c108dbbbfc2e0612961cd44afb71ea (diff)
Merge branch 'oe7drt-openbsd-wizard'
Diffstat (limited to 'internal/wizard.zsh')
-rw-r--r--internal/wizard.zsh2
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/wizard.zsh b/internal/wizard.zsh
index b87f0dfc..9dd48e42 100644
--- a/internal/wizard.zsh
+++ b/internal/wizard.zsh
@@ -1950,7 +1950,7 @@ function generate_config() {
command mkdir -p -- ${__p9k_cfg_path:h} || return
if [[ -e $__p9k_cfg_path ]]; then
- unlink $__p9k_cfg_path || return
+ rm $__p9k_cfg_path || return
fi
print -lr -- "$header" "$lines[@]" >$__p9k_cfg_path
}