nushell etc for nomom
This commit is contained in:
parent
620fe90134
commit
77c3aa4fc1
11 changed files with 1400 additions and 2 deletions
|
|
@ -31,11 +31,11 @@ alias jp = jj git push
|
|||
alias js = jj status
|
||||
alias jw = jj workspace update-stale
|
||||
|
||||
def jm [-r: string = "@"] {
|
||||
def jm --wrapped [-r: string = "@", ...rest] {
|
||||
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 bookmark set main -r $r ...$rest
|
||||
jj git push
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue