Open McDutchie opened 3 months ago
ksh's discipline function mechanism is well suited to this. We should define a put and get discipline in init.c that converts the assigned list of values to and from a simple options bitmask (stored in, let's say, sh.histcontrol). It will then be efficient to check for those options in history.c.
It was update to 1.0.10 and history duplicates is not solved yet or I do not know hot to set up. Thank you.
It's not yet implemented, sorry. I don't know when I'll have the time.
Also, again, when implemented, it will be in 93u+m/1.1 and up, it won't be in the 1.0 series as it's a whole new feature.
In https://github.com/att/ast/issues/1500, @nsoci wrote:
I agree it would be nice to have, and we can see if we can implement the other
HISTCONTROL
features as well. Since it's a whole new feature, it will be for ksh 93u+m/1.1 and up.Citing from the bash manual page: