Commit 598ff1a
authored
feat: add new cargo aliases and fix autocompletion (#1161)
Added official Cargo aliases locally:
- b -> cargo build
- c -> cargo check
- d -> cargo doc
- r -> cargo run
- rm -> cargo remove
- t -> cargo test
These aliases already exist in Cargo; this just adds convenient
shortcuts.
Fixed the Nushell cargo autocompletion function: changed from 'column1'
to 'column0' so that subcommands are correctly suggested instead of
returning nothing.1 parent 5f248ac commit 598ff1a
1 file changed
+9
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
30 | 30 | | |
31 | 31 | | |
32 | 32 | | |
33 | | - | |
| 33 | + | |
34 | 34 | | |
35 | 35 | | |
36 | 36 | | |
| |||
584 | 584 | | |
585 | 585 | | |
586 | 586 | | |
| 587 | + | |
| 588 | + | |
| 589 | + | |
| 590 | + | |
| 591 | + | |
| 592 | + | |
| 593 | + | |
| 594 | + | |
0 commit comments