Ajeet D'Souza
11ba2af20e
Rename $result to $_zoxide_result
2020-07-03 12:12:05 +05:30
Ajeet D'Souza
ba13b45940
Add --score flag to show score with query result
2020-06-28 00:12:49 +05:30
Ajeet D'Souza
19bac0b31a
Add option to list all query results
2020-06-28 00:11:43 +05:30
Ajeet D'Souza
e8eb685e58
Add _ZO_FZF_OPTS to specify fzf
options
2020-06-28 00:11:43 +05:30
Ajeet D'Souza
d8a29f4367
Fix zi
function
2020-06-28 00:11:42 +05:30
Ajeet D'Souza
9b056fb58c
Removed help menus for z
and zri
functions
2020-06-28 00:10:35 +05:30
Ajeet D'Souza
e1c1570174
Change zri
to a shell function
2020-06-28 00:03:36 +05:30
Louis Feuvrier
5c107c23cf
Rename $result to $_zoxide_result to avoid conflicts ( #87 )
2020-06-27 14:27:39 +05:30
Stavros Korokithakis
1ce74baf3b
Increase the _ZO_MAXAGE default ( #84 )
2020-06-08 13:14:36 +05:30
Ajeet D'Souza
eaf6ef5900
Minor refactor
2020-05-25 00:39:27 +05:30
Ajeet D'Souza
edf3c68a7c
Avoid long variable names
2020-05-16 18:23:38 +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
efd615b910
Optimize query algorithm
2020-05-15 19:40:54 +05:30
Ajeet D'Souza
0c1143fe34
Remove streaming serde for database
2020-05-15 18:13:24 +05:30
Jason Shirk
5cdd8fd599
Add support for PowerShell ( #65 )
2020-05-06 11:33:06 +05:30
Ajeet D'Souza
0c3a8a79c3
Remove compatibility with v0.2.x databases
2020-05-04 01:09:01 +05:30
Ajeet D'Souza
0e936fede1
Rename --no-define-aliases flag to --no-aliases
2020-05-03 18:09:54 +05:30
Ajeet D'Souza
e0572a4569
Rename --z-cmd flag to --cmd
2020-05-03 15:15:40 +05:30
Fredrik Sommar
f19aa07145
Aliases respect the z-cmd arg ( #70 )
...
When changing the z-cmd to something like `j` instead, the aliases will also use `j` as a prefix, e.g. `ji`, `ja`.
2020-05-03 14:58:01 +05:30
Ajeet D'Souza
4731533352
$_ZO_ECHO must be set to 1
to be enabled
2020-05-03 02:42:42 +05:30
Ajeet D'Souza
e4dae1dd54
Improve interactive mode in zoxide remove
2020-05-03 02:12:58 +05:30
Ajeet D'Souza
f94d1375a8
Properly quote paths in POSIX
2020-05-02 21:57:46 +05:30
Ajeet D'Souza
7532fe98d8
Add PWD hook for POSIX shells
2020-05-02 16:31:53 +05:30
Ajeet D'Souza
7eed1ed9c3
Switch default hook to PWD.
2020-05-02 01:25:57 +05:30
Cole Helbling
58969e22a2
Fix cd
ing home when no matching directory in fish
( #64 )
...
Fix `cd`ing into `$HOME` when no match is found in `fish` shell
2020-04-11 10:09:34 +05:30
Ajeet D'Souza
0d860503ae
Remove unnecessary derive
2020-04-11 03:00:50 +05:30
Jason Shirk
a4b202f9da
Canonicalize to regular paths instead of UNC paths on Windows
2020-04-10 00:13:16 +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
2f73465d8d
Saving DB should clear the modified flag
2020-04-05 21:39:21 +05:30
Ajeet D'Souza
342954cda0
Performance improvements
2020-04-05 20:44:23 +05:30
Ajeet D'Souza
ede121ef8b
Add flag to change z command
2020-04-03 12:03:38 +05:30
Ajeet D'Souza
d3e49bde66
Remove 'query: ' prefix from 'zoxide query'
2020-04-03 02:22:50 +05:30
Ajeet D'Souza
fdf46d34b9
Check for top-level directory match
2020-04-03 02:20:59 +05:30
Cole Helbling
1e333dfb33
Show commit hash in version number
2020-04-01 03:24:45 +05:30
Ajeet D'Souza
9d0222383f
Style nits
2020-03-30 06:49:41 +05:30
Ajeet D'Souza
3c7d100ab1
Guarantee unique file names for temporary database
2020-03-30 03:32:21 +05:30
Ajeet D'Souza
78a3d0a3d9
Remove indoc dependency
2020-03-30 03:32:21 +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
d4c8297f9b
Use UUID4 for temporary database file name
2020-03-30 03:32:21 +05:30
Ajeet D'Souza
057ed96c0a
Refactor DB architecture
2020-03-30 03:32:21 +05:30
Cole Helbling
1190106849
Implement _ZO_EXCLUDE_DIRS
...
_ZO_EXCLUDE_DIRS is a list of paths (separated by colons, `:`, on
Unix-based systems, and semicolons, `;`, on Windows) that should be
excluded from the database. Example:
_ZO_EXCLUDE_DIRS="$HOME:$HOME/something/super/secret:$HOME/caused/by/background/cds"
2020-03-30 03:32:21 +05:30
Ajeet D'Souza
f29b642ffc
Remove FIXME
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
5547fb4b80
Rename migrate
command to import
2020-03-30 03:31:22 +05:30
Ajeet D'Souza
76dfaad9a1
Set max DB size to 8 MiB
2020-03-30 03:30:12 +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