summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)Author
2024-04-03Zoxide related features (#506)HEADmainChristoph Jabs
* make `:z` act more like zoxide before checking the zoxide database, check if the query is a directory that can be navigated to as by `:cd` also interpret `~` and `-` correctly * optionally track all movement in zoxide Add new config option `zoxide_update` with default false. When manually enabled, all directory navigation (via manually navigating or `:cd` and `:z`) will update the `zoxide` database. Since navigation via `:z` always updates the database, ensure that it doesn't update it twice. * support arguments for zoxide interactive support for `:zi <args>` where arguments are used to prefilter the matches provided in the interactive zoxide prompt * allow command aliases with arguments note: only aliases that do not contain spaces can be used with arguments since either the entire command or only the first word are checked against the aliases
2024-04-03feat: add support for %s and %p as first argument to subprocess commands (#515)Azad
* feat: add support for %s and %p as first argument to subprocess commands * Minor change * Simplify * Display exit status correctly
2024-04-03feat: add `--last` option to `new_tab` command (#517)Azad
* feat: add `--last` option to `new_tab` command * Better flag detection * Even better flag detection
2024-04-03Update command_arguments.mdJeff Zhao
2024-03-29add back confirm_exit optionJeff Zhao
- pager seems a little buggy at the moment with long running processes or processes that have a lot of output
2024-03-23fix commands with pager enabled capturing unwanted inputdevJeff Zhao
2024-03-15Merge branch 'main' of github.com:kamiyaa/joshutov0.9.8Jeff Zhao
2024-03-15version bump v0.9.8Jeff Zhao
2024-03-15chore(nix): update `flake.lock` (#513)xrelkd
Flake lock file updates: • Updated input 'devenv': 'github:cachix/devenv/3654eb5d47218cfa2d12280ba5ac1ace0a9dd225' (2023-08-30) → 'github:cachix/devenv/6c0bad0045f1e1802f769f7890f6a59504825f4d' (2024-03-11) • Updated input 'devenv/pre-commit-hooks': 'github:cachix/pre-commit-hooks.nix/5843cf069272d92b60c3ed9e55b7a8989c01d4c7' (2023-06-29) → 'github:cachix/pre-commit-hooks.nix/ea96f0c05924341c551a797aaba8126334c505d2' (2024-01-08) • Updated input 'fenix': 'github:nix-community/fenix/76e468cd74a08edcbabb14ce1698ebd2f5fad9d2' (2023-08-29) → 'github:nix-community/fenix/d0439c495e5cd13ff252ade520ca620f52abb40b' (2024-03-15) • Updated input 'fenix/rust-analyzer-src': 'github:rust-lang/rust-analyzer/62268e474e9165de0cdb08d3794eec4b6ef1c6cd' (2023-08-28) → 'github:rust-lang/rust-analyzer/14558af15ee3d471bf8f4212f7609ae1f9647bc5' (2024-03-14) • Updated input 'flake-parts': 'github:hercules-ci/flake-parts/59cf3f1447cfc75087e7273b04b31e689a8599fb' (2023-08-01) → 'github:hercules-ci/flake-parts/f7b3c975cf067e56e7cda6cb098ebe3fb4d74ca2' (2024-03-01) • Updated input 'flake-parts/nixpkgs-lib': 'github:NixOS/nixpkgs/9e1960bc196baf6881340d53dccb203a951745a2?dir=lib' (2023-08-01) → 'github:NixOS/nixpkgs/1536926ef5621b09bba54035ae2bb6d806d72ac8?dir=lib' (2024-02-29) • Updated input 'mission-control': 'github:Platonic-Systems/mission-control/9d25d9f8d610916fc144f6afc1f064392fbeec1c' (2023-07-28) → 'github:Platonic-Systems/mission-control/c275dd195776b1b9735790231d874a3c5a7ee779' (2024-02-09) • Updated input 'nix2container': 'github:nlewo/nix2container/ab381a7d714ebf96a83882264245dbd34f0a7ec8' (2023-07-09) → 'github:nlewo/nix2container/c891f90d2e3c48a6b33466c96e4851e0fc0cf455' (2024-02-24) • Updated input 'nix2container/flake-utils': 'github:numtide/flake-utils/1ed9fb1935d260de5fe1c2f7ee0ebaae17ed2fa1' (2022-05-30) → 'github:numtide/flake-utils/ff7b65b44d01cf9ba6a71320833626af21126384' (2023-09-12) • Added input 'nix2container/flake-utils/systems': 'github:nix-systems/default/da67096a3b9bf56a91d16901293e51ba5b49a27e' (2023-04-09) • Updated input 'nixpkgs': 'github:NixOS/nixpkgs/3efb0f6f404ec8dae31bdb1a9b17705ce0d6986e' (2023-08-28) → 'github:NixOS/nixpkgs/d691274a972b3165335d261cc4671335f5c67de9' (2024-03-14) • Updated input 'treefmt-nix': 'github:numtide/treefmt-nix/6befd3b6b8544952e0261f054cf16769294bacba' (2023-08-28) → 'github:numtide/treefmt-nix/35791f76524086ab4b785a33e4abbedfda64bd22' (2024-03-12) • Updated input 'treefmt-nix/nixpkgs': 'github:nixos/nixpkgs/ce5e4a6ef2e59d89a971bc434ca8ca222b9c7f5e' (2023-08-10) → 'github:nixos/nixpkgs/0e74ca98a74bc7270d28838369593635a5db3260' (2024-02-21)
2024-03-15Merge branch 'main' of github.com:kamiyaa/joshutoJeff Zhao
2024-03-15attempt to fix CIJeff Zhao
2024-03-15Update README.md (#512)v0.9.7Jeff Zhao
2024-03-15Merge branch 'main' of github.com:kamiyaa/joshutoJeff Zhao
2024-03-15version bump 0.9.7Jeff Zhao
2024-03-15add ratatui to tagsJeff Zhao
2024-03-14feat: add `--reverse` flag to sort methods (#507)Azad
2024-03-14fix: restore line numbers (#511)Azad
* fix: restore line numbers * clippy
2024-03-14fix: hey use username not real name :D (#509)lali
Signed-off-by: Luterán Lajos <luteranlajos@protonmail.ch>
2024-03-10fix open file not working with case_insensitive_extJeff Zhao
2024-03-10rename case_sensitive_ext to case_insensitive_extJeff Zhao
- make case_insensitive_ext option work with themes as well
2024-03-10refactor code to reduce clonesJeff Zhao
- move a lot of methods into functions - printing icons is moved to rendering section
2024-03-10Merge branch 'main' into devJeff Zhao
2024-03-10move preview area into PreviewContextJeff Zhao
- move a bunch of methods out into functions
2024-03-10feat: add `case_sensitive_ext` option for mimetype, theme and icons (#497)Azad
* feat: add `case_sensitive_ext` option for mimetype, theme and icons * Clone `CONFIG_T` instead of initializing it twice * Reimplement without `CONFIG_T` as static ref * Clippy & fmt
2024-03-10cargo clippyJeff Zhao
2024-03-10fix theme not using prefixJeff Zhao
2024-03-10fix: path autocompletion (#502)Azad
2024-03-10Bump mio from 0.8.10 to 0.8.11 (#504)dependabot[bot]
Bumps [mio](https://github.com/tokio-rs/mio) from 0.8.10 to 0.8.11. - [Release notes](https://github.com/tokio-rs/mio/releases) - [Changelog](https://github.com/tokio-rs/mio/blob/master/CHANGELOG.md) - [Commits](https://github.com/tokio-rs/mio/compare/v0.8.10...v0.8.11) --- updated-dependencies: - dependency-name: mio dependency-type: indirect ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-03-10fix: clear numbered command buffer on cursor move (#505)Azad
2024-03-10Add `capture` and `stdout` commands (#495)DLFW
This adds two new commands as a base to enable users to use the output of scripts to do certain actions in Joshuto. The first command this adds is a third command to start a sub-process beside `shell` and `spawn`, called `capture`. Like `shell`, `capture` is running blocking but unlike `shell`, it does not release the terminal but captures the `stdout` of the sub-process and stores it in an `AppContext` attribute. The second command added by this commit is `stdout`. This command takes the output from the last `capture` run, stored in the `AppContext` attribute, and uses it for some action. The action has to be specified as a sub-command. As of now, only `stdout cd` is implemented. This checks that the last output of `capture` is a single line of an existing file or directory and then changes the working directory to that. To get significant value from these new commands, `capture` needs to be equipped with more variables to feed more information about Joshuto's state into external scripts, and `stdout` needs to get some more sub-commands.
2024-02-28Merge branch 'main' of github.com:kamiyaa/joshutoJeff Zhao
2024-02-28add tea.yamlJeff Zhao
2024-02-27fix: escape `'` char in trash operations (#501)Azad
* fix: escape `'` char during trash operations * clippy
2024-02-27feat: use a pager instead confirm_exit (#498)lali
* Use a pager instead confirm_exit Read the $PAGER environment variable. If it's not set, simply use 'less'. * update mimetype config Signed-off-by: Luterán Lajos <luteranlajos@protonmail.ch>
2024-02-27ratatui-image widget for image previews without scripts (#467)Benjamin Grosse
_Disclaimer: I'm the author of ratatui-image._ Use [ratatui-image](https://github.com/benjajaja/ratatui-image) crate to render images. No script or hook setup is required.
2024-02-21Make mouse support configurable (#494)Mroik/PositiveC
* Make mouse sup configurable instead of build feat * Add mouse_support to docs * Add mouse_support to default config * Don't capture mouse on mouse_support = false * Fmt pass
2024-02-20fix: update all lists viewports on sort method change (#492)Azad
2024-02-20fix: resolve clippy errors (#493)Azad
* fix: resolve clippy errors * Update tests * Style
2024-02-20fix selection style when lscolors enabled (#496)lali
* fix: selection style when lscolors enabled Signed-off-by: Luterán Lajos <luteranlajos@protonmail.ch> * make it readable Signed-off-by: Luterán Lajos <luteranlajos@protonmail.ch> * use unwrap_or_else() instead Signed-off-by: Luterán Lajos <luteranlajos@protonmail.ch> * fix some clippy warnings Signed-off-by: Luterán Lajos <luteranlajos@protonmail.ch> * Revert "fix some clippy warnings" This reverts commit 1521b462c90b52dd9e7ebd50b27b99bcefb9be99. * add ls_colors option to default config Signed-off-by: Luterán Lajos <luteranlajos@protonmail.ch> --------- Signed-off-by: Luterán Lajos <luteranlajos@protonmail.ch>
2024-02-15feat lscolors support (#489)Ben Webb
* feat lscolors support Adds support for styling entries using the LS_COLORS environment variable. This styling is gated behind a configuration variable. If its enabled, any other styling for entries based on theme configuration is ignored. * feat lscolors apply cargo fmt and clippy edits
2024-02-13Bump libgit2-sys from 0.16.1+1.7.1 to 0.16.2+1.7.2 (#491)dependabot[bot]
Bumps [libgit2-sys](https://github.com/rust-lang/git2-rs) from 0.16.1+1.7.1 to 0.16.2+1.7.2. - [Changelog](https://github.com/rust-lang/git2-rs/blob/master/CHANGELOG.md) - [Commits](https://github.com/rust-lang/git2-rs/commits) --- updated-dependencies: - dependency-name: libgit2-sys dependency-type: indirect ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-02-13Add command for printing embedded configs (#487)sushi-shi
* Add command for printing embedded configs * Typo * Use doccomments instead of procmacro * Typo
2024-02-13fix overflow bug on bookmark widget when area is too small (#483)pantosaur
2024-01-20Use `shadow-rs` to show detailed version information (#481)xrelkd
* feat: use `shadow-rs` to show detailed version information * fix: fix lints and errors
2023-12-19Enable large file support for exiftool (#465)Mroik/PositiveC
2023-12-19fix: skip printf % interpretation (#463)kennycallado
Co-authored-by: kennycallado <kennycallado@hotmail.com>
2023-12-19README.md: fix typo in URL (#464)Integral
2023-12-19Update file_previews.md (#472)Maximilian Ehlers
2023-12-19Fixed syntax errors for scripts provided in docs/image_previews/kitty.md (#468)Tianze Zhu
2023-12-18fix TableJeff Zhao