mirror of
https://github.com/reonokiy/dotfiles.git
synced 2025-06-16 06:32:51 +02:00
alias ssh.exe to ssh on wsl
This commit is contained in:
parent
0325aab786
commit
0240be89b6
1 changed files with 11 additions and 0 deletions
|
@ -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}}
|
Loading…
Add table
Add a link
Reference in a new issue