Ssh from anywhere
This commit is contained in:
parent
b0e9f9e421
commit
b224dd0cc0
|
@ -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 }
|
||||
|
|
Loading…
Reference in New Issue