Commit Graph

51 Commits

Author SHA1 Message Date
Ajeet D'Souza
afdcf6bdff Fix CI 2023-11-19 13:29:11 +05:30
Ajeet D'Souza
21211e43d1 Add DeepSource 2023-05-07 19:54:24 +05:30
Ajeet D'Souza
5de13befbc Replace xtask with justfile 2023-05-06 03:55:18 +05:30
Ajeet D'Souza
a7c8231e56 Update GitHub Actions 2023-05-05 13:24:44 +05:30
Ajeet D'Souza
39f5aaa308 Formatting 2023-03-01 13:55:22 +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
65c5e86968 Simplify generics 2023-01-08 22:34:07 +05:30
Ajeet D'Souza
3ab0a7b8fd
Edit subcommand (#498) 2023-01-07 22:58:10 +05:30
Ajeet D'Souza
7af4da1dab fzf: enable colors in preview when possible on macOS / BSD 2022-12-09 02:29:01 +05:30
Ajeet D'Souza
82d4f73aae
Use tab to cycle through completions (#496) 2022-12-09 01:35:13 +05:30
Ajeet D'Souza
d99e9b7d86 Fix badge 2022-11-15 14:04:21 +05:30
Shingo
c137019b83
Fix illegal option in fzf preview window (#460)
Co-authored-by: zhuchunyan <zhuchunyuan@gaodun.com>
Co-authored-by: Ajeet D'Souza <98ajeet@gmail.com>
2022-09-18 00:17:25 +05:30
Ajeet D'Souza
0f3ae894f1 Use formatter from nightly 2022-09-16 22:24:46 +05:30
Ajeet D'Souza
e4aa0692a4 Return exit code from main 2022-09-07 04:19:45 +05:30
Ajeet D'Souza
e4b9e12b0f Improved preview window for fzf 2022-08-04 21:45:08 +05:30
Ajeet D'Souza
f628845fb7 Show fzf preview window below results 2022-04-26 20:09:17 +05:30
Ajeet D'Souza
17365710af Copy owner from previous database file (#364) 2022-03-09 19:59:39 +05:30
Ajeet D'Souza
fd088b43db Launch correct fzf binary on Windows 2021-12-24 16:20:22 +05:30
Ajeet D'Souza
a60a305279 Fix formatting 2021-09-13 13:31:58 +05:30
Ajeet D'Souza
02029aef98 Replace make with xtask 2021-09-13 03:06:21 +05:30
Ajeet D'Souza
11535a3fb6 Fix lints 2021-08-31 11:54:39 +05:30
Ajeet D'Souza
22a9f6c32d
Remove deleted entries if not accessed in the last 90 days (#213) 2021-05-17 21:46:42 +05:30
Ajeet D'Souza
efe11ec924 Improvements to query algorithm 2021-05-06 04:31:57 +05:30
Ajeet D'Souza
027ae1df47
Multi-select for zoxide remove -i (#192) 2021-04-29 01:31:00 +05:30
Ajeet D'Souza
1a5d14a825
Handle write errors gracefully (#143) 2021-01-30 03:06:18 +05:30
Ajeet D'Souza
5c3af59ba6 Add interactive query/remove and import 2020-10-27 00:11:40 +05:30
Ajeet D'Souza
20d62524bf Improve error handling on Xonsh 2020-10-20 23:29:28 +05:30
Ajeet D'Souza
314050f090 Use u64 for Epoch 2020-10-20 11:46:39 +05:30
Ajeet D'Souza
aca2477b68 Split crates 2020-10-18 14:52:13 +05:30
Anthony Ruhier
d49a2c1495 Add _ZO_RESOLVE_SYMLINKS to resolve or not symlinks (#85)
Fixes #80.

Disable by default the symlinks resolution, making a symlink and its
target 2 different entries in the database. Adds the
_ZO_RESOLVE_SYMLINKS env variable to re-enable it.

Example:
  /tmp/foo-target is a directory
  /tmp/foo symlinks to /tmp/foo-target

With _ZO_RESOLVE_SYMLINKS=1, `z add /tmp/foo` adds `/tmp/foo-target` in the database.

With _ZO_RESOLVE_SYMLINKS=0 or unset, `z add /tmp/foo` adds `/tmp/foo` in the database.
2020-07-03 12:12:47 +05:30
Ajeet D'Souza
eaf6ef5900 Minor refactor 2020-05-25 00:39:27 +05:30
Ajeet D'Souza
dad0f60b28 Use util::path_to_str for path conversions 2020-05-16 17:59:21 +05:30
Ajeet D'Souza
208a6a9eb8 Convert paths to String 2020-05-16 17:31:11 +05:30
Ajeet D'Souza
0c1143fe34 Remove streaming serde for database 2020-05-15 18:13:24 +05:30
Ajeet D'Souza
0c3a8a79c3 Remove compatibility with v0.2.x databases 2020-05-04 01:09:01 +05:30
Ajeet D'Souza
56218f35d3 Interactive mode for zoxide remove 2020-04-06 08:41:28 +05:30
Ajeet D'Souza
b21dbefa22 Don't show error if fzf exits gracefully 2020-04-05 22:31:32 +05:30
Ajeet D'Souza
342954cda0 Performance improvements 2020-04-05 20:44:23 +05:30
Ajeet D'Souza
9d0222383f Style nits 2020-03-30 06:49:41 +05:30
Cole Helbling
9af0251bd6 Rework database fallback for v0.3 (#47)
Support migration from old database
2020-03-30 03:32:21 +05:30
Ajeet D'Souza
057ed96c0a Refactor DB architecture 2020-03-30 03:32:21 +05:30
Ajeet D'Souza
d4fb1a05cf Manually parse environment variables 2020-03-30 03:32:21 +05:30
Ajeet D'Souza
890185176e Store paths as PathBuf rather than String 2020-03-30 03:30:12 +05:30
Ajeet D'Souza
857e15c65f Remove conversion to i64 when sorting 2020-03-30 03:30:12 +05:30
Ajeet D'Souza
5d709bded5 Remove i32 conversion from fzf helper 2020-03-30 03:30:12 +05:30
Ajeet D'Souza
03e8cd47a2 Fix exit codes in z and fzf 2020-03-17 12:34:53 +05:30
Ajeet D'Souza
eb21727868 Use envy to parse environment variables 2020-03-13 14:12:20 +05:30
Ajeet D'Souza
9c8e8da71a Refactor + support PWD hook for zsh 2020-03-13 06:19:37 +05:30
Ajeet D'Souza
f0c5e28fd7 * Add init subcommand for bash, fish, and zsh
* Migrate errors from failure to anyhow
* Migrate argument parsing from clap to structopt
* Empty z command now goes to $HOME
* DB updates are now atomic and isolated
2020-03-11 00:14:50 +05:30
Ajeet D'Souza
784ed10aad Add aging algorithm 2020-03-06 23:13:32 +05:30