Age | Commit message (Collapse) | Author |
|
* 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
|
|
* feat: add support for %s and %p as first argument to subprocess commands
* Minor change
* Simplify
* Display exit status correctly
|
|
* feat: add `--last` option to `new_tab` command
* Better flag detection
* Even better flag detection
|
|
|
|
- pager seems a little buggy at the moment with long running processes
or processes that have a lot of output
|
|
|
|
|
|
|
|
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)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* fix: restore line numbers
* clippy
|
|
Signed-off-by: Luterán Lajos <luteranlajos@protonmail.ch>
|
|
|
|
- make case_insensitive_ext option work with themes as well
|
|
- move a lot of methods into functions
- printing icons is moved to rendering section
|
|
|
|
- move a bunch of methods out into functions
|
|
* 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
|
|
|
|
|
|
|
|
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>
|
|
|
|
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.
|
|
|
|
|
|
* fix: escape `'` char during trash operations
* clippy
|
|
* 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>
|
|
_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.
|
|
* 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
|
|
|
|
* fix: resolve clippy errors
* Update tests
* Style
|
|
* 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>
|
|
* 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
|
|
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>
|
|
* Add command for printing embedded configs
* Typo
* Use doccomments instead of procmacro
* Typo
|
|
|
|
* feat: use `shadow-rs` to show detailed version information
* fix: fix lints and errors
|
|
|
|
Co-authored-by: kennycallado <kennycallado@hotmail.com>
|
|
|
|
|
|
|
|
|