nu fixes
This commit is contained in:
parent
a34a37b45b
commit
4ae2d653e8
3 changed files with 9 additions and 3 deletions
|
|
@ -32,6 +32,10 @@ alias js = jj status
|
|||
alias jw = jj workspace update-stale
|
||||
|
||||
def jm [-r: string = "@"] {
|
||||
mut r = $r
|
||||
if (jj log -r @ --no-pager --no-graph --template 'if(empty,"empty")' | $in == "empty") {
|
||||
$r = "@-"
|
||||
}
|
||||
jj bookmark set main -r $r
|
||||
jj git push
|
||||
}
|
||||
|
|
|
|||
|
|
@ -28,9 +28,11 @@ def tse [exit_node: string = ""] {
|
|||
# list all mullvad exit nodes
|
||||
def tsx [] {
|
||||
tailscale exit-node list
|
||||
| detect columns --guess
|
||||
| drop 3
|
||||
| lines
|
||||
| drop 4
|
||||
| skip 1
|
||||
| to text
|
||||
| detect columns --guess
|
||||
| where HOSTNAME =~ mullvad
|
||||
| reject STATUS
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue