458 Commits

Author SHA1 Message Date
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
Alex Pasmantier
0c5da2a0c3
chore: bump to 0.8.3 (#192) 0.8.3 2024-12-31 00:48:37 +01:00
Alex Pasmantier
b552657926
perf(bin): compile binary as a single code unit and use fat LTO (#191)
Fixes #185 

> Release + codegen-units = 1: 11 Mib
Release + Thin LTO (current default): 14 Mib
Release + Fat LTO: 11 Mib
Release + codegen-units = 1 + Fat LTO: 9.7 Mib
Release + codegen-units = 1 + Thin LTO: 11 Mib
2024-12-31 00:46:13 +01:00
Alex Pasmantier
53afed28ee
chore: bump workspace to 0.0.16 (#189) 2024-12-30 22:55:22 +01:00
Rui Chen
26036dd0b9
fix: bump version to match with the release (#188)
👋 seeing some version mismatch with the release build. 

relates to https://github.com/Homebrew/homebrew-core/pull/202798

Signed-off-by: Rui Chen <rui@chenrui.dev>
2024-12-30 22:48:24 +01:00
github-actions[bot]
9b0129a8d8
chore(changelog): update changelog (auto) (#187)
This PR was created by a GitHub Action to update the changelog.

Co-authored-by: alexpasmantier <47638216+alexpasmantier@users.noreply.github.com>
2024-12-30 18:13:25 +01:00
Alex Pasmantier
b49a06997b
feat(shell): shell integration support for fish (#186) 0.8.2 2024-12-30 17:50:45 +01:00
Alex Pasmantier
7614fbc653
feat(shell): add bash support for smart autocomplete and shell history (#184)
Fixes #180
2024-12-30 17:12:16 +01:00
Alex Pasmantier
0b5facca6a
feat(shell): add separate history binding for zsh integration (#183) 2024-12-30 16:13:19 +01:00
Alex Pasmantier
537f738424
docs: move terminal emulator compatibility section to separate docs file (#179) 2024-12-30 01:20:54 +01:00
Alex Pasmantier
c3d6b873d0
docs: add a credits section to the readme (#178) 2024-12-30 01:14:59 +01:00
github-actions[bot]
d8eac4da8a
chore(changelog): update changelog (auto) (#177)
This PR was created by a GitHub Action to update the changelog.

Co-authored-by: alexpasmantier <47638216+alexpasmantier@users.noreply.github.com>
2024-12-30 01:01:07 +01:00
Alex Pasmantier
7434f1476a
chore: bump to 0.8.1 (#176) 0.8.1 2024-12-30 00:57:54 +01:00
Alex Pasmantier
97343c679d
fix(ux): make DeletePrevWord trigger channel update (#175)
Fixes #170
2024-12-30 00:52:34 +01:00
Alex Pasmantier
08fa41b06c
fix(channels): use the number of actual bytes read and not the sample buffer size when calculating the proportion of printable ASCII characters (#174)
Fixes #173
2024-12-30 00:22:04 +01:00
Bertrand Chardon
e9c3ebf05f
chore: Update README.md (#172) 2024-12-29 20:27:31 +01:00
Alex Pasmantier
b74b13075d
docs: fix broken image in channels.md 2024-12-29 18:47:23 +01:00
Alex Pasmantier
dc4028fd7c
docs: update readme animations 2024-12-29 18:44:33 +01:00
Alex Pasmantier
a14dccb726
docs: update README.md (#171) 2024-12-29 17:10:01 +01:00
Alex Pasmantier
90c2b9ce43
docs: fix broken link in README (#168) 2024-12-29 02:21:52 +01:00
github-actions[bot]
19e6593968
chore(changelog): update changelog (auto) (#167)
This PR was created by a GitHub Action to update the changelog.

Co-authored-by: alexpasmantier <47638216+alexpasmantier@users.noreply.github.com>
2024-12-29 02:17:08 +01:00
Alex Pasmantier
f707190439
chore: include cable channels (#166) 0.8.0 2024-12-29 02:14:20 +01:00
Alex Pasmantier
1bc6f12782
chore: bump to 0.8.0 (#165) 2024-12-29 02:07:50 +01:00
Alex Pasmantier
8de82fec5d
docs: update README with more legible screenshot of the files channel (#164) 2024-12-29 01:48:18 +01:00
Alex Pasmantier
07a7c7b34c
docs: replace top image with a screenshot of the application (#163) 2024-12-29 01:33:58 +01:00