style Trailing whitespace line endings or no final newline

This commit is contained in:
2025-04-28 21:01:03 +08:00
parent fa9018d3b5
commit 3022dfe4af
16 changed files with 91 additions and 81 deletions

View File

@@ -3,4 +3,4 @@
{{ if eq .chezmoi.os "darwin" -}}
defaults write com.googlecode.iterm2 PrefsCustomFolder -string "~/.config/iterm2"
defaults write com.googlecode.iterm2 LoadPrefsFromCustomFolder -bool true
{{ end -}}
{{ end -}}

View File

@@ -18,4 +18,4 @@ mkdir -p ~/.winscp/drive_c/users/{{ .chezmoi.username }}/AppData/Roaming/FileZil
ln -s ~/.config/filezilla/sitemanager.xml ~/.winscp/drive_c/users/{{ .chezmoi.username }}/AppData/Roaming/FileZilla/sitemanager.xml
{{ end }}
{{ end }}
{{ end }}
{{ end }}

View File

@@ -13,4 +13,4 @@ brew {{ . | quote }}
cask {{ . | quote }}
{{ end -}}
EOF
{{ end -}}
{{ end -}}

View File

@@ -16,7 +16,7 @@ wait_for_pacman_unlock() {
if ! pgrep -x pacman >/dev/null && \
! pgrep -x packagekitd >/dev/null && \
! pgrep -x packagekit >/dev/null; then
echo "🔍 找不到 pacman 或 PackageKit疑似殘留鎖檔。"
if [ "$WAITED" -ge "$MAX_IDLE" ]; then
@@ -94,4 +94,4 @@ fi
{{ end -}}
{{ end -}}
{{ end -}}