fix chazmoi noGUI
This commit is contained in:
parent
30b4047b48
commit
12373b8795
@ -13,6 +13,7 @@ dconf.ini
|
|||||||
.local/share/konsole
|
.local/share/konsole
|
||||||
dconf.ini
|
dconf.ini
|
||||||
.gvimrc
|
.gvimrc
|
||||||
|
.chezmoiscripts/run_onchange_linux-dconf-load.sh.tmpl
|
||||||
|
|
||||||
{{/* ---- 有視窗應用程式 -------------------------------------------------- */ -}}
|
{{/* ---- 有視窗應用程式 -------------------------------------------------- */ -}}
|
||||||
{{ else }}
|
{{ else }}
|
||||||
@ -24,6 +25,7 @@ dconf.ini
|
|||||||
{{ end }}
|
{{ end }}
|
||||||
{{ if ne .chezmoi.os "linux" }}
|
{{ if ne .chezmoi.os "linux" }}
|
||||||
.chezmoiscripts/run_onchange_before_linux-install-packages.sh.tmpl
|
.chezmoiscripts/run_onchange_before_linux-install-packages.sh.tmpl
|
||||||
|
.chezmoiscripts/run_onchange_linux-dconf-load.sh.tmpl
|
||||||
.local/share/konsole
|
.local/share/konsole
|
||||||
.config/konsolerc
|
.config/konsolerc
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
@ -4,6 +4,7 @@ zsh -i -c 'zinit update'
|
|||||||
vim +PlugInstall +qall
|
vim +PlugInstall +qall
|
||||||
nvim --headless "+Lazy! update" +qa
|
nvim --headless "+Lazy! update" +qa
|
||||||
|
|
||||||
|
{{ if not .noGUI }}
|
||||||
{{ if and (eq .chezmoi.os "linux") (stat (print .chezmoi.homeDir "/.winscp")) }}
|
{{ if and (eq .chezmoi.os "linux") (stat (print .chezmoi.homeDir "/.winscp")) }}
|
||||||
{{ if or (eq .chezmoi.osRelease.id "manjaro") (eq .chezmoi.osRelease.id "arch") }}
|
{{ if or (eq .chezmoi.osRelease.id "manjaro") (eq .chezmoi.osRelease.id "arch") }}
|
||||||
mkdir -p ~/.winscp
|
mkdir -p ~/.winscp
|
||||||
@ -20,3 +21,4 @@ ln -s ~/.config/filezilla/sitemanager.xml ~/.winscp/drive_c/users/{{ .chezmoi.us
|
|||||||
{{ end }}
|
{{ end }}
|
||||||
{{ end }}
|
{{ end }}
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
{{ end }}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user