redundancy 0.0.2
Redundancy is a Ruby program that loads the .zsh_history, .bash_history, .irb_history files, and applies the built-in Ruby uniq! function to trim any duplicate commands present. It then writes the filtered output back to the appropriate file. The source code works better as an Apple Shortcut, as there is a significant delay running redundancy when Terminal is open (several closings and reopenings).