245 Commits

Author SHA1 Message Date
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
Alex Pasmantier
313f833b32
chore(deps): update devicons to 0.6.12 (#162) 2024-12-29 00:25:44 +01:00
Alex Pasmantier
157d01c4e7
refactor(cable): use tail instead of tac for zsh and bash command history channels (#161) 2024-12-28 23:38:14 +01:00
Alex Pasmantier
f83c5d1396
docs: update readme (#160) 2024-12-28 23:06:28 +01:00
Alex Pasmantier
6d706b4c12
docs: rearrange README, add a features section, and move more technical stuff to separate files (#159) 2024-12-28 22:56:37 +01:00
Alex Pasmantier
b33c0b9bb5
chore(deps): bump to rustc 1.81 and update cargo deps (#158) 2024-12-28 20:22:28 +01:00
Alex Pasmantier
697f295afb
refactor: update default configuration and simplify channel enum conversions (#157) 2024-12-28 20:09:33 +01:00
Alex Pasmantier
ee71e4788f
feat(cable): using builtin previewers inside cable channel prototypes (#156) 2024-12-28 19:35:21 +01:00
Alex Pasmantier
e034615594
feat(cable): make preview optional for cable channels (#155) 2024-12-28 18:42:18 +01:00
github-actions[bot]
3f92ca2b13
chore(changelog): update changelog (auto) (#154)
This PR was created by a GitHub Action to update the changelog.

Co-authored-by: alexpasmantier <47638216+alexpasmantier@users.noreply.github.com>
2024-12-28 18:00:02 +01:00
Alex Pasmantier
309ff537a4
feat(cli): allow passing --input <STRING> to prefill input prompt (#153)
Fixes #152
2024-12-28 17:56:11 +01:00
Alex Pasmantier
c3b8c68d1b
feat(ux): print current query to stdout on Enter if no entry is selected (#151)
Fixes #49
2024-12-28 16:36:30 +01:00
Alex Pasmantier
12fdf94e5d
feat(input): bind ctrl-w to delete previous word (#150)
Fixes #135
2024-12-28 16:25:19 +01:00
Alex Pasmantier
557686e197
feat(config): allow specifying multiple keymaps for the same action + better defaults (#149)
Fixes #135
2024-12-28 15:56:12 +01:00