alias ssh.exe to ssh on wsl

This commit is contained in:
reeink 2024-03-10 00:10:40 +08:00
parent 0325aab786
commit 0240be89b6
No known key found for this signature in database

View file

@ -155,3 +155,14 @@ alias i='cd ~/i'
# Created by `pipx` on 2024-02-17 11:33:21 # Created by `pipx` on 2024-02-17 11:33:21
export PATH="$PATH:/home/ree/.local/bin" 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}}