Exclude cmds from the histogram
This commit is contained in:
parent
57a911cd94
commit
d2f18a78f7
|
@ -37,7 +37,9 @@ awk -v histfile=$historyfile '
|
||||||
}
|
}
|
||||||
|
|
||||||
{
|
{
|
||||||
history[$0]++
|
if ($0 != "poweroff" && $0 != "reboot" && $0 != "suspendSystem") {
|
||||||
|
history[$0]++
|
||||||
|
}
|
||||||
print
|
print
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue