mirror of https://git.jolheiser.com/dotnix.git
Compare commits
2 Commits
ff1afee641
...
73f94ab78a
Author | SHA1 | Date |
---|---|---|
|
73f94ab78a | |
|
6ea5ae4b4e |
|
@ -25,6 +25,10 @@
|
||||||
key = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIAUxLwkJOlalAHTdkbh+m49XTZGKDqWz1o/o8OLmtQdX";
|
key = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIAUxLwkJOlalAHTdkbh+m49XTZGKDqWz1o/o8OLmtQdX";
|
||||||
};
|
};
|
||||||
revsets.log = "ancestors(present(@), 5) | ancestors(immutable_heads().., 2) | present(trunk())";
|
revsets.log = "ancestors(present(@), 5) | ancestors(immutable_heads().., 2) | present(trunk())";
|
||||||
|
revset-aliases = {
|
||||||
|
"closest_bookmark(to)" = "heads(::to & bookmarks())";
|
||||||
|
"immutable_heads()" = "builtin_immutable_heads() & remote_bookmarks()";
|
||||||
|
};
|
||||||
aliases = {
|
aliases = {
|
||||||
push = [
|
push = [
|
||||||
"util"
|
"util"
|
||||||
|
@ -41,6 +45,19 @@
|
||||||
"fetch"
|
"fetch"
|
||||||
"origin"
|
"origin"
|
||||||
];
|
];
|
||||||
|
i = [
|
||||||
|
"git"
|
||||||
|
"init"
|
||||||
|
"--colocate"
|
||||||
|
];
|
||||||
|
tug = [
|
||||||
|
"bookmark"
|
||||||
|
"move"
|
||||||
|
"--from"
|
||||||
|
"closest_bookmark(@-)"
|
||||||
|
"--to"
|
||||||
|
"@-"
|
||||||
|
];
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
|
@ -37,6 +37,13 @@ def q [
|
||||||
^llm -s "Answer in as few words as possible. Use a brief style with short replies." -m claude-3.5-sonnet $"($query)"
|
^llm -s "Answer in as few words as possible. Use a brief style with short replies." -m claude-3.5-sonnet $"($query)"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
def dev [
|
||||||
|
--port (-p) = 8080: int # Port
|
||||||
|
] {
|
||||||
|
print $"Listening on http://localhost:($port)"
|
||||||
|
^ssh -N -T -R $"3389:localhost:($port)" dragonwell
|
||||||
|
}
|
||||||
|
|
||||||
# Run a command if known, otherwise run it with nix
|
# Run a command if known, otherwise run it with nix
|
||||||
def , [
|
def , [
|
||||||
cmd: string # The command to run
|
cmd: string # The command to run
|
||||||
|
|
Loading…
Reference in New Issue