return for toats

This commit is contained in:
Tao Tien 2025-03-08 22:57:46 -08:00
parent 77c3aa4fc1
commit 12d1a2bfb6
2 changed files with 2 additions and 4 deletions

View file

@ -61,13 +61,12 @@ tsx
| sort-by ping | sort-by ping
} }
# switch to a random mullvad exit node # switch to a random mullvad exit node
def tsr [] { def tsr [] {
tsx tsx
| get (random int 0..($in | length)) | get (random int 0..($in | length))
| tse $in.IP | tse $in.IP
| return $in
} }
alias ts = tailscale alias ts = tailscale

View file

@ -61,13 +61,12 @@ tsx
| sort-by ping | sort-by ping
} }
# switch to a random mullvad exit node # switch to a random mullvad exit node
def tsr [] { def tsr [] {
tsx tsx
| get (random int 0..($in | length)) | get (random int 0..($in | length))
| tse $in.IP | tse $in.IP
| return $in
} }
alias ts = tailscale alias ts = tailscale