What I want to do is simple: add a keybinding to one of my program using readline startup file inputrc but, in addition, as my program does not produce any output, I do not want the command name to appear on stdout.
What my problem is:
.inputrc content:
"\e[1;5A":'pipe_send\n' When I hit ctrl+uparrow, on the command line appears "pipe_send":
[ alexkag@$$$$$:: / ] $ pipe_send What I'd like is not having pipe_send appear on the command line, just like the commands provided by readline such as history-search-backward, history-search-forward, etc. Do you know any way to do that? Maybe shoudn't I use readline? Note: my keybinding must only be visible in bash, not to the whole system.
.bashrc:bind -x '"\e[1;5A":pipe_send'.history-search-forwardin.inputrcare not quoted. I guess they are kind of constants? However, in your example you quote your command (pipe_send) as a string which is weird...