## 📺 PR Description
Added `aws-buckets` and `aws-instances` channels.
## Checklist
- [x] my commits **and PR title** follow the [conventional
commits](https://www.conventionalcommits.org/en/v1.0.0/#summary) format
- [ ] if this is a new feature, I have added tests to consolidate the
feature and prevent regressions
- [ ] if this is a bug fix, I have added a test that reproduces the bug
(if applicable)
- [ ] I have added a reasonable amount of documentation to the code
where appropriate
---------
Co-authored-by: Leonardo Vencovsky <leoven@Leonardos-MacBook-Pro.local>
Co-authored-by: alexandre pasmantier <alex.pasmant@gmail.com>
## 📺 PR Description
Fixes#616
Added quotes to prevent shell argument escape
## Checklist
<!-- a quick pass through the following items to make sure you haven't
forgotten anything -->
- [x] my commits **and PR title** follow the [conventional
commits](https://www.conventionalcommits.org/en/v1.0.0/#summary) format
- [ ] if this is a new feature, I have added tests to consolidate the
feature and prevent regressions
- [ ] if this is a bug fix, I have added a test that reproduces the bug
(if applicable)
- [ ] I have added a reasonable amount of documentation to the code
where appropriate
## 📺 PR Description
Fixes#592
- Left of cursor extraction - lhs
- Right of cursor extraction - rhs
- Add space if needed - lhs_with_space
- Concatenate lhs + output + rhs - new_line
- Set line and cursor position - command line edit --replace and command
line set-cursor
- add nu-history for both windows and unix channels
## Checklist
<!-- a quick pass through the following items to make sure you haven't
forgotten anything -->
- [X ] my commits **and PR title** follow the [conventional
commits](https://www.conventionalcommits.org/en/v1.0.0/#summary) format
- [ ] if this is a new feature, I have added tests to consolidate the
feature and prevent regressions
- [ ] if this is a bug fix, I have added a test that reproduces the bug
(if applicable)
- [ ] I have added a reasonable amount of documentation to the code
where appropriate
---------
Co-authored-by: alexpasmantier <alex.pasmant@gmail.com>
This PR adds support for customizing
* input_header
* preview_header
* preview_footer
all the items are of type MultiTemplate, this gives some flexibility
when showing the selected value, let's say on the preview header, if
it's long or you want only a section
---------
Co-authored-by: alexandre pasmantier <alex.pasmant@gmail.com>
Add env channel
Add support to toggle between sources and reload them, this enables the
following
```toml
[source]
command = ["fd -t f", "fd -t f -H"]
[keybindings]
toggle_source = "ctrl-t"
reload_source = "ctrl-r"
```
now you can have the same channel with two different representations,
for example with and without hidden files
the change is backwards compatible, if you put a simple string nothing
changes
---------
Co-authored-by: alexandre pasmantier <alex.pasmant@gmail.com>
BREAKING CHANGE: the format of the cable channel files and more
specifically the preview specification is updated to be a single table
named `preview` (with keys `command`, `delimiter`, and `offset`) instead
of three flat fields.
```toml
preview_command = "echo 3"
preview_delimiter = " "
preview_offset = "{1}"
```
becomes:
```toml
preview.command = "echo 3"
preview.delimiter = " "
preview.offset = "{1}"
```
BREAKING CHANGE: No more builtin previews which means channels currently using `:files:` and other builtins will now need to rely on external tools (examples to come).
- tv's default channel (when lauching `tv`) is now configurable via the
`default_channel` configuration option
- add `RUST_BACKTRACE=1` and `--nocapture` to ci testing for better
debugging
- remove all builtin channels and associated glue code as well as the
`ToCliChannel` and `ToUnitChannel` derive macros
- recode all builtin channels using shell commands (along with `fd`,
`bat`, and `rg`)
- add support for interactive shell commands inside cable channels
- drop the `send_to_channel` feature until further notice (will be
reimplemented later on in a more generic and customizable way)