chezmoi 新增Debian支援

This commit is contained in:
2025-05-02 16:53:31 +08:00
parent 79d6ecf6b3
commit db6f8611a4
5 changed files with 61 additions and 7 deletions

View File

@@ -1,8 +1,14 @@
#!/bin/sh
zsh -i -c 'zinit update'
vim +PlugInstall +qall
nvim --headless "+Lazy! update" +qa
if command -v zsh &> /dev/null; then
zsh -i -c 'zinit update'
fi
if command -v vim &> /dev/null; then
vim +PlugInstall +qall
fi
if command -v nvim &> /dev/null; then
nvim --headless "+Lazy! update" +qa
fi
{{ if not .noGUI }}
{{ if and (eq .chezmoi.os "linux") (stat (print .chezmoi.homeDir "/.winscp")) }}