diff --git a/users/tao/nushell/extras/tailscale.nu b/users/tao/nushell/extras/tailscale.nu index 0630ba4..5dcee82 100644 --- a/users/tao/nushell/extras/tailscale.nu +++ b/users/tao/nushell/extras/tailscale.nu @@ -61,13 +61,12 @@ tsx | sort-by ping } - - # switch to a random mullvad exit node def tsr [] { tsx | get (random int 0..($in | length)) | tse $in.IP + | return $in } alias ts = tailscale diff --git a/users/vy/nushell/extras/tailscale.nu b/users/vy/nushell/extras/tailscale.nu index 0630ba4..5dcee82 100644 --- a/users/vy/nushell/extras/tailscale.nu +++ b/users/vy/nushell/extras/tailscale.nu @@ -61,13 +61,12 @@ tsx | sort-by ping } - - # switch to a random mullvad exit node def tsr [] { tsx | get (random int 0..($in | length)) | tse $in.IP + | return $in } alias ts = tailscale