Unset all local functions after running them

This commit is contained in:
Ilya Gorski 2019-07-17 02:43:00 +03:00
parent b90f76c141
commit 0565251c3b

View File

@ -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