sutf
This commit is contained in:
parent
d284043625
commit
669bdf16b7
4 changed files with 12 additions and 2 deletions
|
|
@ -23,6 +23,8 @@
|
||||||
# texlab
|
# texlab
|
||||||
# thunderbird
|
# thunderbird
|
||||||
# wkhtmltopdf
|
# wkhtmltopdf
|
||||||
|
bitwarden-desktop
|
||||||
|
bitwarden-cli
|
||||||
appimage-run
|
appimage-run
|
||||||
aspell
|
aspell
|
||||||
aspellDicts.en
|
aspellDicts.en
|
||||||
|
|
|
||||||
|
|
@ -5,7 +5,8 @@ d = "doc --no-deps --open"
|
||||||
|
|
||||||
[build]
|
[build]
|
||||||
target = "x86_64-unknown-linux-gnu"
|
target = "x86_64-unknown-linux-gnu"
|
||||||
build-dir = "/home/tao/.cache/cargo/target"
|
# build-dir = "/home/tao/.cache/cargo/target"
|
||||||
|
build-dir = "{cargo-cache-home}/build/{workspace-path-hash}"
|
||||||
rustflags = ["-Z", "threads=8"]
|
rustflags = ["-Z", "threads=8"]
|
||||||
rustc-wrapper = "/path/to/sccache"
|
rustc-wrapper = "/path/to/sccache"
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -69,6 +69,7 @@
|
||||||
j = "jump_view_up";
|
j = "jump_view_up";
|
||||||
k = "jump_view_down";
|
k = "jump_view_down";
|
||||||
};
|
};
|
||||||
|
i = "@:toggle las.display-inlay-hints";
|
||||||
t = {
|
t = {
|
||||||
r = "@mip:reflow<ret>";
|
r = "@mip:reflow<ret>";
|
||||||
s = "@<A-s>:sort<ret>";
|
s = "@<A-s>:sort<ret>";
|
||||||
|
|
|
||||||
|
|
@ -64,7 +64,13 @@ def bump [...rest] {
|
||||||
}
|
}
|
||||||
let r = jj log -r @ --no-pager --no-graph --template 'change_id'
|
let r = jj log -r @ --no-pager --no-graph --template 'change_id'
|
||||||
sudo nix flake update
|
sudo nix flake update
|
||||||
if (rebuild boot) {
|
def get_gen [] {
|
||||||
|
sudo nix-env --profile /nix/var/nix/profiles/system --list-generations | detect columns --guess -n | last | get column0
|
||||||
|
}
|
||||||
|
let curr_gen = get_gen()
|
||||||
|
let build_status = rebuild boot
|
||||||
|
let new_gen = get_gen()
|
||||||
|
if ($build_status and ($curr_gen == $new_gen)) {
|
||||||
jj desc -r $r -m $"bump (date now | format date "%Y-%m-%d")"
|
jj desc -r $r -m $"bump (date now | format date "%Y-%m-%d")"
|
||||||
jj bookmark set main -r $r
|
jj bookmark set main -r $r
|
||||||
jj git push
|
jj git push
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue