`set` is a bash builtin command that displays the names values of all shell variables when invoked without any arguments. Shell functions are implemented as variables, technically (although you cannot see the body of the function with echo $functionname).
This is working as designed and has noting to do with gnome-terminal. ** Changed in: gnome-terminal (Ubuntu) Status: New => Invalid -- You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to gnome-terminal in Ubuntu. https://bugs.launchpad.net/bugs/1496829 Title: when the set command is passed without any parameters it throws some sort of source code on the screen To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/gnome-terminal/+bug/1496829/+subscriptions -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs