This commit is contained in:
Tao Tien 2026-02-05 03:28:34 -08:00
parent d284043625
commit 669bdf16b7
4 changed files with 12 additions and 2 deletions

View file

@ -23,6 +23,8 @@
# texlab
# thunderbird
# wkhtmltopdf
bitwarden-desktop
bitwarden-cli
appimage-run
aspell
aspellDicts.en

View file

@ -5,7 +5,8 @@ d = "doc --no-deps --open"
[build]
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"]
rustc-wrapper = "/path/to/sccache"

View file

@ -69,6 +69,7 @@
j = "jump_view_up";
k = "jump_view_down";
};
i = "@:toggle las.display-inlay-hints";
t = {
r = "@mip:reflow<ret>";
s = "@<A-s>:sort<ret>";

View file

@ -64,7 +64,13 @@ def bump [...rest] {
}
let r = jj log -r @ --no-pager --no-graph --template 'change_id'
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 bookmark set main -r $r
jj git push