This commit is contained in:
Tao Tien 2025-12-07 00:40:55 -08:00
parent cbc9ee5b18
commit 7cb15daa78
3 changed files with 3 additions and 3 deletions

View file

@ -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'

View file

@ -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