From b224dd0cc0f768e25d995f687bf1c43e26a89ed5 Mon Sep 17 00:00:00 2001 From: Thomas Forgione Date: Thu, 9 Nov 2023 15:22:14 +0100 Subject: [PATCH] Ssh from anywhere --- nushell/config.nu | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nushell/config.nu b/nushell/config.nu index b277766..c0b6c92 100644 --- a/nushell/config.nu +++ b/nushell/config.nu @@ -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 }