diff options
| author | Ilya Gorski <52842983+gorsil@users.noreply.github.com> | 2019-07-17 02:43:00 +0300 |
|---|---|---|
| committer | Ilya Gorski <52842983+gorsil@users.noreply.github.com> | 2019-07-17 02:43:00 +0300 |
| commit | 0565251c3bd91994073a265cdb8abb7eac9439e5 (patch) | |
| tree | 6cd42986fea50ea4dc7fb191f499da18eedcf428 | |
| parent | b90f76c1411b4a2182f4fd54b5739be5f78410e8 (diff) | |
| download | zsh-0565251c3bd91994073a265cdb8abb7eac9439e5.tar.gz zsh-0565251c3bd91994073a265cdb8abb7eac9439e5.tar.bz2 zsh-0565251c3bd91994073a265cdb8abb7eac9439e5.zip | |
Unset all local functions after running them
| -rw-r--r-- | plugins/fzf/fzf.plugin.zsh | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/plugins/fzf/fzf.plugin.zsh b/plugins/fzf/fzf.plugin.zsh index e191bebbd..646148297 100644 --- a/plugins/fzf/fzf.plugin.zsh +++ b/plugins/fzf/fzf.plugin.zsh @@ -91,3 +91,5 @@ function indicate_error() { # Check for debian package first, because it easy to short cut # Indicate to user that fzf installation not found if nothing worked setup_using_debian_package || setup_using_base_dir || indicate_error + +unset -f setup_using_debian_package setup_using_base_dir indicate_error |
