Browse Source

Unset all local functions after running them

Ilya Gorski 5 years ago
parent
commit
0565251c3b
1 changed files with 2 additions and 0 deletions
  1. 2 0
      plugins/fzf/fzf.plugin.zsh

+ 2 - 0
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