fix chazmoi noGUI

This commit is contained in:
2025-05-02 13:20:35 +08:00
parent 30b4047b48
commit 12373b8795
2 changed files with 4 additions and 0 deletions

View File

@@ -4,6 +4,7 @@ zsh -i -c 'zinit update'
vim +PlugInstall +qall
nvim --headless "+Lazy! update" +qa
{{ if not .noGUI }}
{{ if and (eq .chezmoi.os "linux") (stat (print .chezmoi.homeDir "/.winscp")) }}
{{ if or (eq .chezmoi.osRelease.id "manjaro") (eq .chezmoi.osRelease.id "arch") }}
mkdir -p ~/.winscp
@@ -20,3 +21,4 @@ ln -s ~/.config/filezilla/sitemanager.xml ~/.winscp/drive_c/users/{{ .chezmoi.us
{{ end }}
{{ end }}
{{ end }}
{{ end }}