fix chazmoi noGUI
This commit is contained in:
@@ -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 }}
|
||||
|
||||
Reference in New Issue
Block a user