shell history

Fourhundred Thecat via mc <[email protected]> Mon, 23 Oct 2023 10:30:00 +0200
Newsgroups gmane.comp.gnome.apps.mc.general
Message-ID <[email protected]>
Hello,

I am using zsh-histdb, which saves zsh history to sqlite database:

   https://github.com/larkery/zsh-histdb

whenever I start mc, the history is flooded with "garbage":

   mc
    mc_print_command_buffer () { printf "%s\\n" "$BUFFER" >&12; }
    zle -N mc_print_command_buffer
    bindkey '^[_' mc_print_command_buffer
    mc_print_cursor_position () { echo $CURSOR >&12}
    zle -N mc_print_cursor_position
    bindkey '^[+' mc_print_cursor_position
    _mc_precmd(){ pwd>&10;kill -STOP $$ }; precmd_functions+=(_mc_precmd)

when I grep my filesystem for "mc_print_command_buffer", I get a match 
in /usr/bin/mc

any idea what is happening?

thank you,

-- 
mc mailing list
[email protected]
https://lists.midnight-commander.org/mailman/listinfo/mc