nushell/crates/nu-cli
Leonhard Kipp 48f535f02e
Display aliases and custom commands in which; fix #2810 (#2834)
* Display aliases and custom commands in which; Fix #2810

Example output of nu after the commit is applied:

```shell
/home/leo/repos/nushell(feature/which_inspect_alias)> def docker-ps [] { docker ps --format '{{json .}}' | from json -o }
/home/leo/repos/nushell(feature/which_inspect_alias)> which docker-ps
───┬───────────┬────────────────────────┬─────────
 # │    arg    │          path          │ builtin
───┼───────────┼────────────────────────┼─────────
 0 │ docker-ps │ nushell custom command │ No
───┴───────────┴────────────────────────┴─────────
/home/leo/repos/nushell(feature/which_inspect_alias)> alias d = gid pd
/home/leo/repos/nushell(feature/which_inspect_alias)> which d
───┬─────┬───────────────┬─────────
 # │ arg │     path      │ builtin
───┼─────┼───────────────┼─────────
 0 │ d   │ nushell alias │ No
───┴─────┴───────────────┴─────────
```

* Update documentation
2021-01-02 06:40:44 +13:00
..
assets moved theme assets local to crate (#2329) 2020-08-11 13:57:03 -05:00
src Display aliases and custom commands in which; fix #2810 (#2834) 2021-01-02 06:40:44 +13:00
tests Multiline scripts part 2 (#2795) 2020-12-18 20:53:49 +13:00
build.rs update to shadow-rs 0.5. make use easy (#2793) 2020-12-24 05:56:05 +13:00
Cargo.toml Replace clipboard with arboard (#2832) 2020-12-31 06:16:02 +13:00