move comments outside the 'for cmd' loop

This commit is contained in:
Maxim Belkin 2019-11-04 10:18:53 -06:00
parent 99e308753b
commit 7349178adc
No known key found for this signature in database
GPG Key ID: AC71560D4C5F2338

View File

@ -19,10 +19,12 @@ symlink_target_directory() {
quiet_cd "$directory" && quiet_cd "$target_dirname" && pwd -P quiet_cd "$directory" && quiet_cd "$target_dirname" && pwd -P
} }
# Unset functions that override Bash builtins
# Enable all Bash builtins
for cmd in $(compgen -A builtin) for cmd in $(compgen -A builtin)
do do
unset -f $cmd # Unset functions that override Bash builtins unset -f $cmd
enable $cmd # Enable all Bash builtins enable $cmd
done done
unset cmd unset cmd