1
0
Fork 0
mirror of https://github.com/ohmyzsh/ohmyzsh.git synced 2024-11-25 15:20:08 +00:00

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