If a command is normally executed CMD_ON_ENTER is reseted to `ls`. Otherwise problems can occur when for example switching the directory to a non-repo when CMD_ON_ENTER contains `gs`.
If a command is normally executed CMD_ON_ENTER is reseted to `ls`. Otherwise problems can occur when for example switching the directory to a non-repo when CMD_ON_ENTER contains `gs`.