Exclude 'hh' from history (#412)

This commit is contained in:
Thibault Charbonnier 2020-11-18 22:22:54 -08:00 committed by GitHub
parent e864e92435
commit 2fcef2f123
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -19,8 +19,8 @@
#include "include/hstr_blacklist.h"
static const char *defaultCommandBlacklist[] = {
"ls", "pwd", "cd", "cd ..", "hstr", "mc",
"ls ", "pwd ", "cd ", "cd .. ", "hstr ", "mc " // trailing space
"ls", "pwd", "cd", "cd ..", "hstr", "hh", "mc",
"ls ", "pwd ", "cd ", "cd .. ", "hstr ", "hh ", "mc " // trailing space
};
void blacklist_init(Blacklist *blacklist)