382 Commits

Author SHA1 Message Date
Alex Pasmantier
b388a56745
fix(fish): don't add extra space to prompt if it's an implicit cd (\.) (#259)
Fixes #256
2025-01-09 13:41:38 +01:00
Alex Pasmantier
3b7fb0c6d6
refactor(cable): stream in cable results + better error logging + default delimiter consistency (#257) 2025-01-09 13:30:31 +01:00
Alex Pasmantier
ea8b955e6d
feat(cli): add no-preview flag to disable the preview pane (#258)
Fixes #255
2025-01-09 13:29:32 +01:00
Alex Pasmantier
b5e9846e1b
refactor(providers): improve cable provider files loading sequence (#254) 2025-01-08 17:10:05 +01:00
github-actions[bot]
ef26d326f4
chore(changelog): update changelog (auto) (#251)
This PR was created by a GitHub Action to update the changelog.

Co-authored-by: alexpasmantier <47638216+alexpasmantier@users.noreply.github.com>
2025-01-07 23:39:06 +01:00
Alex Pasmantier
853da49425
chore: bump to 0.9.0 (#249) 0.9.0 2025-01-07 23:29:14 +01:00
Alex Pasmantier
8b5beee1dc
perf: drop deduplication when loading cable candidate lines (#248)
related to #194
2025-01-07 17:59:44 +01:00
Alex Pasmantier
1c00dece94
fix(ansi): catch implicit reset escape sequences (#245)
Fixes #232 

<img width="2549" alt="Screenshot 2025-01-07 at 16 04 15"
src="https://github.com/user-attachments/assets/18be9901-757e-47a4-aa70-89aa7fc75e84"
/>
2025-01-07 16:06:23 +01:00
github-actions[bot]
59bdcaa278
chore(changelog): update changelog (auto) (#244)
This PR was created by a GitHub Action to update the changelog.

Co-authored-by: alexpasmantier <47638216+alexpasmantier@users.noreply.github.com>
2025-01-07 13:36:00 +01:00
Alex Pasmantier
3bd2bb44bd
feat: add support for CJK unified ideographs (#243)
Fixes #242
2025-01-07 13:32:32 +01:00
Alex Pasmantier
072ecdba73
perf: only display the first 200 log entries when previewing git-repos (#241) 2025-01-07 12:49:09 +01:00
Alex Pasmantier
a2a264cc4d
fix(ingestion): use lossy conversion when source doesn't produce valid utf8 (#240)
Fixes #233
2025-01-07 12:41:57 +01:00
Alex Pasmantier
0624002f35
perf: use FxHash instead of SipHash where it makes sense (#237) 2025-01-07 02:11:12 +01:00
Alex Pasmantier
263e88beb6
chore(deps): mutualize workspace dependencies (#236) 2025-01-07 01:09:14 +01:00
Alex Pasmantier
e2398abcfa
feat(channels): allow sending currently selected entries to other channels (#235)
Related to #229
2025-01-07 00:35:14 +01:00
Alex Pasmantier
2e5f65baef
feat(channels): add support for multi selection (#234)
Fixes #229 

<img width="1793" alt="Screenshot 2025-01-07 at 00 12 18"
src="https://github.com/user-attachments/assets/f2158c70-b3ab-4c14-8856-eb8463efef8a"
/>
2025-01-07 00:13:05 +01:00
Alex Pasmantier
d20784891f
chore: fix linting warnings (#230) 2025-01-06 19:23:28 +01:00
Osma S. Rautila
da2396e19a
chore(linting): add workspace lints (#228)
Hey, nice work. There's a lot of potential, and the idea of custom
channels with custom run commands is very appealing.

I was looking at the source, but clippy pedantic lints threw a lot of
warnings and I noticed the project did not have a linting profile. I
threw together a profile here, but it does leave a fair amount of
warnings in. Maybe some variation of this, or another linting profile
could be considered to guide future contributors on style decisions.
Cheers

---------

Co-authored-by: Alexandre Pasmantier <alex.pasmant@gmail.com>
2025-01-06 18:24:56 +01:00
Alex Pasmantier
76bff30759
feat(cable): add default git diff cable channel (#226) 2025-01-06 14:13:04 +01:00
github-actions[bot]
7cd0a9d1b7
chore(changelog): update changelog (auto) (#225)
This PR was created by a GitHub Action to update the changelog.

Co-authored-by: alexpasmantier <47638216+alexpasmantier@users.noreply.github.com>
2025-01-06 13:52:13 +01:00
Alexandre Pasmantier
6536bbf323 chore: bump to 0.8.8 0.8.8 2025-01-06 13:46:41 +01:00
Alex Pasmantier
88b08b798e
fix(cable): zsh-history and bash-history cable channels now point to default histfiles locations (#224) 2025-01-06 13:44:07 +01:00
Alex Pasmantier
3d49d308c1
refactor(cable): more debug information for cable channels (#223) 2025-01-06 13:39:41 +01:00
Alex Pasmantier
074889b43f
refactor(ux): don't print the list of available channels on channel parsing error (#222) 2025-01-06 13:39:34 +01:00
Alex Pasmantier
d7e6c35735
feat(ui): add support for standard ANSI colors theming and update default theme (#221)
Fixes #211 

<img width="2554" alt="Screenshot 2025-01-06 at 13 01 57"
src="https://github.com/user-attachments/assets/3706b93a-4be1-4a88-8c3e-bfb71a36db50"
/>
2025-01-06 13:03:50 +01:00
Alex Pasmantier
53bd4a3815
feat(ui): add new television theme that inherits the terminal bg (#220) 2025-01-06 00:00:51 +01:00
Alex Pasmantier
931a7bb5c3
feat(ui): make background color optional and fallback to terminal default bg color (#219)
See #211
2025-01-05 23:58:49 +01:00
Alex Pasmantier
21fb3cb53c
docs: add shell autocompletion GIF to the README 2025-01-05 01:29:05 +01:00
github-actions[bot]
b1309af25f
chore(changelog): update changelog (auto) (#218)
This PR was created by a GitHub Action to update the changelog.

Co-authored-by: alexpasmantier <47638216+alexpasmantier@users.noreply.github.com>
2025-01-05 00:36:36 +01:00
Alex Pasmantier
25adee34d8
chore: bump to 0.8.7 (#217) 0.8.7 2025-01-05 00:32:41 +01:00
Alex Pasmantier
3e5f0a44a3
fix(unix): use sed instead of tail for bash and zsh default history channels (#216)
Fixes #215
2025-01-05 00:29:10 +01:00
Alex Pasmantier
124c06c403
refactor(config): check for config file existence before processing subcommands (#214) 2025-01-05 00:05:19 +01:00
Alex Pasmantier
657af5e36d
refactor(cable): always create default cable channels in user directory if no cable channels exist (#213)
Fixes #212
2025-01-04 23:57:01 +01:00
Alex Pasmantier
971a2e7697
refactor(shell): use $HISTFILE for cable history channels (#210)
Fixes #209
2025-01-02 13:45:45 +01:00
tangowithfoxtrot
9079ed794c
Fix broken link to autocompletion docs (#208) 2025-01-02 10:32:52 +01:00
github-actions[bot]
80896578b4
chore(changelog): update changelog (auto) (#206)
This PR was created by a GitHub Action to update the changelog.

Co-authored-by: alexpasmantier <47638216+alexpasmantier@users.noreply.github.com>
2025-01-01 12:16:26 +01:00
Alexandre Pasmantier
df936dd4eb chore: bump to 0.8.6 0.8.6 2025-01-01 12:08:22 +01:00
Vitalii Lukyanov
bff7068781
fix: nix build (#203)
Hey! Quick fix for nix, already tested on my machine, works like a
charm!

![image](https://github.com/user-attachments/assets/7f02c8ee-c081-4f55-9df7-0462b93b9dd6)
2025-01-01 12:06:03 +01:00
Tulip Blossom
741ce30b08
fix: automatically create configuration and data directories if they don't exist (#204)
I've noticed that the latest release (0.85.0) failed to start up if
`$HOME/.config/television` doesnt exist. This should force the directory
creation if the user doesn't have it.

Before:

![image](https://github.com/user-attachments/assets/d54245f7-e9b7-4baf-87d9-75869821e519)

After:

![image](https://github.com/user-attachments/assets/e0af2a16-987f-4943-85e7-59d427f64abb)

---------

Co-authored-by: Alexandre Pasmantier <alex.pasmant@gmail.com>
2025-01-01 12:05:20 +01:00
github-actions[bot]
314aa93a45
chore(changelog): update changelog (auto) (#202)
This PR was created by a GitHub Action to update the changelog.

Co-authored-by: alexpasmantier <47638216+alexpasmantier@users.noreply.github.com>
2024-12-31 19:05:17 +01:00
Alexandre Pasmantier
8cae59256d chore: bump to 0.8.5 0.8.5 2024-12-31 18:54:48 +01:00
Alex Pasmantier
2acfc41ceb
feat(ui): respect BAT_THEME env var for previewer syntax highlighting theme (#201)
Fixes #169
2024-12-31 18:53:20 +01:00
Alex Pasmantier
a74deceb98
fix(shell): add space if needed when using smart autocomplete (#200) 2024-12-31 18:21:07 +01:00
Bertrand Chardon
690e88dd1a
docs: move parts of README to Wiki (#199)
the sections for _keybindings_, the _configuration file_ and _search
patterns_ are now located in dedicated pages of the Wiki and referred to
in the README
2024-12-31 13:53:46 +01:00
Alex Pasmantier
0382ff81b6
docs(config): fix typo in default configuration file comment (#198) 2024-12-31 13:19:09 +01:00
github-actions[bot]
d2bf172f4b
chore(changelog): update changelog (auto) (#197)
This PR was created by a GitHub Action to update the changelog.

Co-authored-by: alexpasmantier <47638216+alexpasmantier@users.noreply.github.com>
2024-12-31 13:15:48 +01:00
Alexandre Pasmantier
430e325567 chore: bump version to 0.8.4 0.8.4 2024-12-31 13:12:23 +01:00
Alex Pasmantier
343ed3c126
feat(ux): automatically create default user configuration file if nonexistent (#196) 2024-12-31 13:11:22 +01:00
Heyward Fann
1899873680
fix(channels): list-channels in kebab-case (#195)
```
tv gitrepos
Unknown channel: gitrepos
```

And `tv list-channels` result, before the fix:

```
tv list-channels
Builtin channels:
        env
        files
        gitrepos
        dirs
        text
        alias
```

After:

```
./target/debug/tv list-channels
Builtin channels:
        env
        files
        git-repos // HERE
        dirs
        text
        alias
```
2024-12-31 11:21:12 +01:00
github-actions[bot]
76da8b0a5b chore(changelog): update changelog (auto) (#193)
This PR was created by a GitHub Action to update the changelog.

Co-authored-by: alexpasmantier <47638216+alexpasmantier@users.noreply.github.com>
2024-12-31 00:54:16 +01:00