Skip to content
Snippets Groups Projects
Unverified Commit c87d2181 authored by Maxim Belkin's avatar Maxim Belkin
Browse files

re-enable disabled builtins and use them

parent d0d150ac
No related branches found
No related tags found
No related merge requests found
......@@ -20,10 +20,11 @@ symlink_target_directory() {
}
# Enable and use default Bash builtins rather than user-defined functions
for cmd in $(compgen -A builtin)
builtin enable compgen unset
for cmd in $(builtin compgen -A builtin)
do
unset -f $cmd
enable $cmd
builtin unset -f $cmd
builtin enable $cmd
done
unset cmd
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment