From 7cb15daa78a984fa34cc11b38494ad446c6e0f20 Mon Sep 17 00:00:00 2001 From: Tao Tien <29749622+taotien@users.noreply.github.com> Date: Sun, 7 Dec 2025 00:40:55 -0800 Subject: [PATCH] stuf --- users/tao/cargo.toml | 2 +- users/tao/nushell/env.nu | 2 +- users/tao/nushell/extras/alias.nu | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/users/tao/cargo.toml b/users/tao/cargo.toml index 892c8db..e698743 100644 --- a/users/tao/cargo.toml +++ b/users/tao/cargo.toml @@ -5,7 +5,7 @@ d = "doc --no-deps --open" [build] target = "x86_64-unknown-linux-gnu" -built-dir = "/home/tao/.cache/cargo/target" +build-dir = "/home/tao/.cache/cargo/target" rustflags = ["-Z", "threads=8"] rustc-wrapper = "/path/to/sccache" diff --git a/users/tao/nushell/env.nu b/users/tao/nushell/env.nu index 30b491f..38db6ec 100644 --- a/users/tao/nushell/env.nu +++ b/users/tao/nushell/env.nu @@ -79,7 +79,7 @@ $env.NU_PLUGIN_DIRS = [ ] # To add entries to PATH (on Windows you might use Path), you can use the following pattern: -$env.PATH = ($env.PATH | split row (char esep) | prepend '/home/tao/.local/bin') +$env.PATH = ($env.PATH | split row (char esep) | prepend '/home/tao/.local/bin' | prepend '/home/tao/.cargo/bin') $env.GOPATH = '/home/tao/.go' diff --git a/users/tao/nushell/extras/alias.nu b/users/tao/nushell/extras/alias.nu index c26d9ae..b346fc6 100644 --- a/users/tao/nushell/extras/alias.nu +++ b/users/tao/nushell/extras/alias.nu @@ -57,7 +57,7 @@ def --env c [path: path = "~"] { } def l --wrapped [path: path = ".", ...rest] { - ls -t $path ...$rest | insert ext {|row| $row.name | parse "{name}.{ext}" | get ext | get 0? } | sort-by type ext name | reject type ext + ls -t $path ...$rest | insert ext {|row| $row.name | parse "{name}.{ext}" | get ext | get 0? } | sort-by --natural type ext name | reject type ext } alias list-automounts = systemctl list-units --type=automount