Martin Zacho
|
ac98f4044c
|
cmd/query: Add `--sort-by` option
Added the option `--sort-by [score|path|last-accessed]` for the `query`
subcommand with default value `score` i.e:
```bash
$ zoxide query --list --score --sort-by last-accessed
4.0 /home/martin/playground/scala/scala-3-project-template
3.5 /home/martin/playground/rust
3.8 /home/martin/playground/python
12.0 /home/martin/projects/zoxide
11.8 /home/martin/playground
16.5 /home/martin/projects/thesis
6.0 /home/martin/projects/thesis/frontend
...
```
```bash
$ zoxide query --list --score --sort-by path
0.2 /home/martin/.local/state
0.2 /home/martin/.local/share/zoxide
0.2 /home/martin/.local/share
0.2 /home/martin/.config/protonmail/bridge-v3
0.2 /home/martin/.config/protonmail
0.5 /home
0.5 /etc/nixos/lib/lisp
0.8 /
...
```
```bash
$ zoxide query --list --score
16.5 /home/martin/projects/thesis
16.0 /home/martin/projects/zoxide
8.0 /home/martin/projects/egcd
8.0 /persist
6.0 /home/martin/projects/thesis/frontend
...
```
Fixes #784 as well as #815.
|
2024-07-15 18:59:02 +02:00 |
Ajeet D'Souza
|
6dedfcd74a
|
Update clap
|
2023-06-11 01:08:07 +05:30 |
Ajeet D'Souza
|
153e060043
|
Add short option -a for --all
|
2023-05-09 00:51:26 +05:30 |
Ajeet D'Souza
|
56956779b2
|
Consistent style for environment variables
|
2023-04-16 19:54:55 +05:30 |
Ajeet D'Souza
|
3c8a0d6b13
|
Add alias for `import --from=fasd`
|
2023-02-18 10:55:45 +05:30 |
Blonteractor
|
2c2286cea2
|
Added better output in query when already in the matched directory (#463)
|
2023-01-09 15:55:33 +05:30 |
Ajeet D'Souza
|
3ab0a7b8fd
|
Edit subcommand (#498)
|
2023-01-07 22:58:10 +05:30 |
Ajeet D'Souza
|
f74873b803
|
Improve help page consistency
|
2022-12-08 00:57:36 +05:30 |
Elbert Ronnie
|
b7d6b1eea7
|
Updated clap to version 4.0 (#476)
Co-authored-by: Ajeet D'Souza <98ajeet@gmail.com>
|
2022-10-29 19:46:10 +05:30 |
Ajeet D'Souza
|
0f3ae894f1
|
Use formatter from nightly
|
2022-09-16 22:24:46 +05:30 |