Commit graph

1062 commits

Author SHA1 Message Date
emma31-dev
47fea0de53 updated crossterm crate in toml 2026-04-10 23:28:51 +01:00
emma31-dev
70388d776f Remmoved redundant code in terminal.rs and simplified args passing 2026-04-10 16:04:24 +01:00
emma31-dev
3ae685f0ef simplified hashing process in hash.rs and iplemented better traitbounds
in shell.rs
2026-04-08 01:59:40 +01:00
emma31-dev
09f975cbc1 Merge branch 'test_changes' of https://github.com/emma31-dev/navi into test_changes 2026-04-06 01:07:20 +01:00
emma31-dev
23c9c740ca improved if else statement 2026-04-06 01:05:47 +01:00
Emmanuel Fidelis
0d4c573dad
Merge branch 'denisidoro:master' into test_changes 2026-04-06 00:58:27 +01:00
emma31-dev
3a7adbe24d formated properly 2026-04-06 00:53:00 +01:00
emma31-dev
970cd7f5f0 Update clipboard.rs 2026-04-06 00:34:58 +01:00
emma31-dev
ed1791c71a added extra test cases and improved error handling in git.rs 2026-04-05 23:09:33 +01:00
emma31-dev
4c01ae0a38 used consistent module import 2026-04-05 18:21:58 +01:00
emma31-dev
24288c4c3f no need to refernce x as no other use exist :( 2026-04-04 15:31:10 +01:00
emma31-dev
4328c259dd improved scoping of BufReader in fs.rs 2026-04-04 15:25:20 +01:00
emma31-dev
de769edec2 implementing best practices for arg in rust 2026-04-04 11:26:43 +01:00
emma31-dev
d1ed7bb9b9 fixed binding of std::env::current_exe in fs.rs 2026-04-03 16:59:30 +01:00
Alexis Opolka
f1463e9e7b
Merge pull request #1016 from kit494way/bash-on-windows
Make bash available on Windows
2026-04-03 15:37:56 +02:00
Alexis Opolka
b1b0274663
Merge pull request #1021 from emma31-dev/master
docs: improving bug report linking and accessability. ty :)
2026-04-03 08:23:30 +02:00
Denis Isidoro
03e2f9e94d
Merge pull request #1019 from gounthar/feat/release-riscv64
ci: add riscv64 to release targets
2026-04-02 16:07:53 -03:00
emma31-dev
86abd59b63 updated issues tab link 2026-03-29 21:38:11 +01:00
emma31-dev
2ae861fd9a docs: improving bug report linking and accessability. ty :) 2026-03-27 12:23:51 +01:00
Bruno Verachten
e3be91a4f3
ci: add riscv64 to release targets
Closes #1018

Signed-off-by: Bruno Verachten <gounthar@gmail.com>
2026-03-24 17:26:47 +01:00
KITAGAWA Yasutaka
90b409f613
Make bash available on Windows 2026-03-22 15:52:54 +09:00
Alexis Opolka
b4ce885253
Merge pull request #1015 from kit494way/command-pwsh
Enable specifying pwsh as a command
2026-03-14 09:05:25 +01:00
KITAGAWA Yasutaka
8d37d58124
Enable specifying pwsh as a command 2026-03-14 09:12:02 +09:00
Alexis Opolka
88541ca997
Merge pull request #1010 from lamchau/master
Fix fish widget multi-line snippet and prompt rendering
2026-03-12 14:54:04 +01:00
Lam Chau
aa87ad49cd fix: always repaint prompt after fzf exits in fish widget
Previously, `repaint` only ran inside the `best_match` and `candidate`
branches, so cancelling out of navi (Ctrl+C / Esc) without selecting
a snippet would leave the terminal in a clobbered state. Multi-line
prompts (e.g. tide with ╭─/╰─ borders) would lose their border
characters because fzf overwrites the terminal output and no repaint
was triggered to restore it.

Move `repaint` to the end of the function so it always runs regardless
of whether a selection was made, the user cancelled, or no matches
were found. Remove the early `return` from the `best_match` branch
and gate the `candidate` fallback with `test -z "$best_match"` instead.
2026-03-06 02:24:50 -08:00
Lam Chau
ec04fa91b4 fix: preserve newlines in multi-line fish widget snippets
`commandline --current-process` treats newlines as process (pipe)
boundaries, which flattens multi-line snippets into a single line.

For example, a snippet like:

  ffmpeg \
    -i <input> \
    -preset slow \
    -codec:a aac

would be inserted as:

  ffmpeg \ -i <input> \ -preset slow \ -codec:a aac

Replace with `commandline --replace` which operates on the full
buffer and preserves newlines. Add `end-of-line` to position the
cursor at the end after replacement. Quote variables and add `--`
to prevent snippets starting with `-` from being interpreted as
flags.
2026-03-06 02:24:04 -08:00
Alexis Opolka
ae0c475fc4
Merge pull request #998 from grota/grota-patch-patsub_replacement
fix: bash widget sanitization for &
2026-02-20 09:07:10 +01:00
Giuseppe Rota
373ad9393a
fix: bash widget sanitization for &
In the bash widget readline code make sure that bash's `patsub_replacement` is temporarily unset to avoid having ${input}_NAVIEND in the final command when the expanded $replacement contains `&`
2025-11-26 12:24:40 +01:00
Alexis Opolka
b01291e040
Merge pull request #990 from astr0n0mer/master
docs: fixes broken links
2025-08-18 19:12:59 +02:00
astr0n0mer
820a7b9b31
docs: fixes broken links 2025-08-18 16:18:33 +05:30
Alexis Opolka
c6da2d934d
Merge pull request #987 from stacksparrow4/master
Removed head -n 1 from tmux widget
2025-06-30 04:15:07 +02:00
Daniel Cooper
403f25bc22 Removed head -n 1 from tmux widget 2025-06-30 11:53:51 +10:00
Alexis Opolka
8f236e9fcf
Merge pull request #986 from sebastiaanspeck/fix/toc
docs: Remove dead links from ToC
2025-06-29 22:56:07 +02:00
Sebastiaan Speck
2970b97e6c README: remove dead links from ToC 2025-06-28 02:50:29 +00:00
Alexis Opolka
c55e6cdef6
Merge pull request #985 from alexismrosales-encora/fix/docs-configuration-typo
docs: Fix typo in configuration example
2025-06-26 23:26:16 +02:00
alexismrosales
04c99d0db7 docs: Fix typo in configuration example 2025-06-26 14:52:29 -06:00
Alexis Opolka
9dac4fa2ef
Update CODEOWNERS 2025-06-23 11:47:09 +02:00
Alexis Opolka
6f009dbc4e
Update CODEOWNERS 2025-06-23 11:46:57 +02:00
Alexis Opolka
822b3ea3ba
Merge pull request #983 from soar/feature/use-cargo-install-locked
feat: Add `--locked` to `cargo install` in release script
2025-06-20 16:38:56 +02:00
Aleksey @soar Smyrnov
fdbd607132
feat: Add --locked to cargo install in release script 2025-06-17 02:10:39 -04:00
Alexis Opolka
085ee0135b
Merge pull request #982 from lamchau/fish-repaint
fix: prevent prompt corruption in fish v4
2025-06-10 11:11:21 +02:00
Alexis Opolka
d62f8c7e04
Update navi.plugin.fish 2025-06-10 11:09:20 +02:00
Lam Chau
a7efad2740 docs: add references to fish 2025-06-07 14:36:02 -07:00
Lam Chau
fcbd6c3350 style: use long options for self-documentation 2025-06-06 19:49:35 -07:00
Lam Chau
0076018ada fix: add version check for fish v4+ 2025-06-06 13:24:02 -07:00
Lam Chau
023e52d1fb fix: prevent prompt corruption in fish v4
fish v4 introduced new multiline prompt rendering behavior that breaks
when interactive commands like `navi` are injected via keybindings. this
resulted in partial prefix symbols (e.g. from a prompt's newline
component) being left on screen and improperly rendering the expanded
command (e.g. `gzgzip` instead of `gzip`).

this forces a full redraw so it's cosmetically identical to running
`navi` (as a command without insertion)
2025-06-06 02:21:54 -07:00
John Nguyen
e657f4b6b5
Update documentation links (#980)
* Fix links

Fix link

* Remove empty file

This has been refactored to docs/configurations/

* Update README.md

Made the links point directly at the files

---------

Co-authored-by: Alexis Opolka <53085471+alexis-opolka@users.noreply.github.com>
Co-authored-by: John Nguyen <ipwnponies@gmail.com>
2025-05-08 09:44:36 +02:00
alexis-opolka
2d9d04c6a3 Merge branch 'alexis-opolka-new-docs' 2025-05-04 12:37:30 +02:00
alexis-opolka
445f9be247 Merge branch 'new-docs' of github.com:alexis-opolka/navi into alexis-opolka-new-docs 2025-05-04 12:37:13 +02:00
alexis-opolka
48fd4db08d Did a bit of refactoring - Deleted the png file inside the repository
Signed-off-by: alexis-opolka <53085471+alexis-opolka@users.noreply.github.com>
2025-05-04 11:00:43 +02:00