nu: Add ctd command

This commit is contained in:
2024-11-04 16:00:30 +01:00
parent da0e57ae22
commit 38fcc71ca3
2 changed files with 6 additions and 0 deletions
+6
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)"
}