Enable autojump only in interactive mode