nu: Add ctd command

This commit is contained in:
2024-11-04 15:59:40 +01:00
parent da0e57ae22
commit 38fcc71ca3
2 changed files with 6 additions and 0 deletions

6
tree/.local/nu/cargo.nu Normal file
View File

@ -0,0 +1,6 @@
# Resolve path to the cargo target dir, including an optional subpath
def ctd [
path?: string
] {
$"($env.CARGO_TARGET_DIR)/($path)"
}

0
tree/.local/nu/readelf.nu Executable file → Normal file
View File