Commit Graph

12 Commits

Author SHA1 Message Date
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 56218f35d3 Interactive mode for `zoxide remove` 2020-04-06 08:41:28 +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
Cole Helbling dc5f965b0c
Add POSIX shell support (#43)
Add POSIX shell support

Any users of a shell that adheres to the POSIX standard should now be
supported. Shells that were tested while this feature was in development
include `mrsh`, `dash`, busybox `ash`, and `bash --posix`.

The hook works by defining a `_zoxide_hook` function and adding it to
the shell's `PS1` (causing it to be evaluated every time the prompt is
redrawn).

The PWD hook has been removed, because it is impossible to implement in
a POSIX-compliant and satisfactory way.
2020-03-30 03:24:37 +05:30
Ajeet D'Souza 03e8cd47a2 Fix exit codes in z and fzf 2020-03-17 12:34:53 +05:30
Ajeet D'Souza 146e5709fb Fix exit codes in 'z' command 2020-03-16 14:26:59 +05:30
Ajeet D'Souza f4cd1159c5 Add $_ZO_ECHO to echo match before navigating 2020-03-15 17:55:54 +05:30
Ajeet D'Souza 41aabccb8f Add PWD hook for bash + fish 2020-03-13 07:09:21 +05:30
Ajeet D'Souza 9c8e8da71a Refactor + support PWD hook for zsh 2020-03-13 06:19:37 +05:30