In order to have the same buggy behavior in gnome-terminal, you have to set the option "Run command as a login shell" in Edit -> Profile preferences -> Title And Command
-- shell scripts cannot run from bash https://bugs.launchpad.net/bugs/299690 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs