Save old prompt command and launch it if non-empty