The commented code seem to not work but I want to have the behaviour when entering the command line too.