ff1cdc02b9
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.
10 lines
318 B
Nu
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
|
|
}
|