diff options
| author | vladislav doster <10052309+vladdoster@users.noreply.github.com> | 2024-03-26 03:55:16 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-03-26 09:55:16 +0100 |
| commit | 1d09c6bb0a950756a65b02457842933e3aa493eb (patch) | |
| tree | d3da2149911d18975d3ca88158971e4207328950 /plugins/wd | |
| parent | a168efe73e467c7164ef9b49dea61e9aefd27a48 (diff) | |
| download | zsh-1d09c6bb0a950756a65b02457842933e3aa493eb.tar.gz zsh-1d09c6bb0a950756a65b02457842933e3aa493eb.tar.bz2 zsh-1d09c6bb0a950756a65b02457842933e3aa493eb.zip | |
style: remove trailing whitespace (#12303)
Diffstat (limited to 'plugins/wd')
| -rw-r--r-- | plugins/wd/README.md | 2 | ||||
| -rw-r--r-- | plugins/wd/_wd.sh | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/plugins/wd/README.md b/plugins/wd/README.md index 1d1980632..0ad74e805 100644 --- a/plugins/wd/README.md +++ b/plugins/wd/README.md @@ -153,7 +153,7 @@ wd .. wd ... ``` -This is a wrapper for the zsh's `dirs` function. +This is a wrapper for the zsh's `dirs` function. _You might need to add `setopt AUTO_PUSHD` to your `.zshrc` if you are not using [oh-my-zsh](https://github.com/ohmyzsh/ohmyzsh)._ * Remove warp point: diff --git a/plugins/wd/_wd.sh b/plugins/wd/_wd.sh index 8d5cf15a2..52ecb12e6 100644 --- a/plugins/wd/_wd.sh +++ b/plugins/wd/_wd.sh @@ -77,7 +77,7 @@ function _wd() { # complete sub directories from the warp point _path_files -W "(${points[$target]})" -/ && ret=0 fi - + # don't complete anything if warp point is not valid ;; esac |
