Don't hide output from chpwd hooks
This commit is contained in:
parent
c3e3c855ca
commit
ddc77df3de
|
|
@ -14,6 +14,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
||||||
- Zsh: completions clashing with `zsh-autocomplete`.
|
- Zsh: completions clashing with `zsh-autocomplete`.
|
||||||
- Fzf: 'invalid option' on macOS.
|
- Fzf: 'invalid option' on macOS.
|
||||||
- PowerShell: handle UTF-8 encoding correctly.
|
- PowerShell: handle UTF-8 encoding correctly.
|
||||||
|
- Zsh: don't hide output from `chpwd` hooks.
|
||||||
|
|
||||||
## [0.8.3] - 2022-09-02
|
## [0.8.3] - 2022-09-02
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -19,7 +19,7 @@ function __zoxide_pwd() {
|
||||||
# cd + custom logic based on the value of _ZO_ECHO.
|
# cd + custom logic based on the value of _ZO_ECHO.
|
||||||
function __zoxide_cd() {
|
function __zoxide_cd() {
|
||||||
# shellcheck disable=SC2164
|
# shellcheck disable=SC2164
|
||||||
\builtin cd -- "$@" >/dev/null {%- if echo %} && __zoxide_pwd {%- endif %}
|
\builtin cd -- "$@" {%- if echo %} && __zoxide_pwd {%- endif %}
|
||||||
}
|
}
|
||||||
|
|
||||||
{{ section }}
|
{{ section }}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue