Files
dotfiles/dot_config/nushell/dev.nu
T
mpuchstein ff1cdc02b9 nu: add nushell config and apex-styled prompt
Initial nushell dotfiles: config, modules (git, k8s, sys, hypr, pkg,
dev), apex theme files, and a chezmoi-templated prompt that shows dir
and git branch/dirty using apex-neon/aeon colors with vi mode indicators.
2026-05-17 08:48:19 +02:00

10 lines
318 B
Nu

# Cargo workspace crates as a table — run from workspace root
def cargo-ws [] {
^cargo metadata --format-version 1 --no-deps 2>/dev/null
| from json
| get packages
| select name version manifest_path
| each {|p| $p | upsert path ($p.manifest_path | path dirname) | reject manifest_path}
| sort-by name
}