diff --git a/dot_zshrc b/dot_zshrc.tmpl similarity index 94% rename from dot_zshrc rename to dot_zshrc.tmpl index 4f5b4de..5d227ad 100644 --- a/dot_zshrc +++ b/dot_zshrc.tmpl @@ -155,3 +155,14 @@ alias i='cd ~/i' # Created by `pipx` on 2024-02-17 11:33:21 export PATH="$PATH:/home/ree/.local/bin" + +{{if eq .chezmoi.os "windows" -}} +# windows spec config +{{- else if eq .chezmoi.os "linux" -}} +{{- if (.chezmoi.kernel.osrelease | lower | contains "microsoft") -}} +# wsl spec config +alias ssh="ssh.exe" +{{- else -}} +# linux spec config +{{- end -}} +{{- end}}