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