mcfly icon indicating copy to clipboard operation
mcfly copied to clipboard

How can I ignore some commands.

Open goddade opened this issue 4 years ago • 3 comments

How can I ignore some commands such as exit and ls

goddade avatar May 27 '20 13:05 goddade

Hey @goddade! That's a great feature suggestion.

For bash, it should use HISTIGNORE (details), and for zsh, it'd be nice if it used HISTORY_IGNORE (details). Are you interested in working on this?

cantino avatar May 28 '20 03:05 cantino

Add the command to HISTIGNORE, and then delete it in McFly It works for me

Learn Rust is still in my todo list, so I can't contribute to it yet

Thanks for your excellent works!

goddade avatar May 30 '20 02:05 goddade

There's also a (common?) thing to ignore entries with one or more leading spaces.

nkoehring avatar Jul 08 '20 12:07 nkoehring