diff --git a/TODO.md b/TODO.md index f138f57522..f8b7e23dc1 100644 --- a/TODO.md +++ b/TODO.md @@ -36,17 +36,36 @@ - [x] operator overflow - [x] Support for `$in` - [x] config system +- [x] plugins +- [ ] external plugin signatures +- [ ] external command signatures - [ ] shells - [ ] autoenv -- [ ] plugins - [ ] dataframes +- [ ] overlays (replacement for `autoenv`), adding modules to shells - [ ] port over `which` logic +- [ ] port test support crate so we can test against sample files, including multiple inputs into the CLI +- [ ] benchmarking +- [ ] finish adding config properties +- [ ] system-agnostic test cases +- [ ] exit codes +- [ ] length of time the command runs put in the env (CMD_DURATION_MS) ## Post-nushell merge: -- [ ] Overlays (replacement for `autoenv`), adding modules to shells - [ ] Input/output types - [ ] let [first, rest] = [1, 2, 3] (design question: how do you pattern match a table?) ## Maybe: - [ ] default param values? - [ ] Unary not? + + + +module git { + external fn "git clone" [ + arg: int, + --flag: string(custom-completion), ???? + ] ; +} + +plugin git { ... } \ No newline at end of file diff --git a/crates/nu-command/src/viewers/table.rs b/crates/nu-command/src/viewers/table.rs index 0efe075451..4fd0badc67 100644 --- a/crates/nu-command/src/viewers/table.rs +++ b/crates/nu-command/src/viewers/table.rs @@ -37,7 +37,7 @@ impl Command for Table { let config = stack.get_config()?; let term_width = if let Some((Width(w), Height(_h))) = terminal_size::terminal_size() { - w as usize + (w - 1) as usize } else { 80usize };