fix winscp script: 邏輯搞反了,要有該資料夾才會執行動作
This commit is contained in:
parent
d9ac5a422b
commit
88e357bc86
@ -3,7 +3,7 @@
|
|||||||
zsh -i -c 'zinit update'
|
zsh -i -c 'zinit update'
|
||||||
vim +PlugInstall +qall
|
vim +PlugInstall +qall
|
||||||
|
|
||||||
{{ if and (eq .chezmoi.os "linux") (not (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
|
||||||
mkdir -p ~/.winscp/drive_c/users/{{ .chezmoi.username }}/.ssh
|
mkdir -p ~/.winscp/drive_c/users/{{ .chezmoi.username }}/.ssh
|
||||||
|
Loading…
x
Reference in New Issue
Block a user