Ssh from anywhere

This commit is contained in:
Thomas Forgione 2023-11-09 15:22:14 +01:00
parent b0e9f9e421
commit b224dd0cc0
1 changed files with 1 additions and 1 deletions

View File

@ -147,7 +147,7 @@ def gpsup [] { git push --set-upstream origin (git rev-parse --abbrev-ref HEAD)
# ssh completion
def _ssh_hosts [] {
open .ssh/config
open ~/.ssh/config
| lines
| find -ir "host "
| each { $in | split row " " | get 1 }