1

I have been playing with bash for the past week and would like to create a function that is called every time I press a key on the keyboard. I read about bind but it forces me to bind to a specific key. If anybody can assist me I would appreciate it

I would like to accomplish this without new shells like zsh or fish

Grisha Levit
  • 8,194
  • 2
  • 38
  • 53
amit
  • 113
  • 4
  • Personally I can't think of one good reason I'd want a function to trigger with each and every key press, so I'm curious as to specifically what you're attempting to do and why? – user3439894 Jun 19 '16 at 14:05
  • 1
    I would like to implement my own kind of auto completion that doesn't require or any key. the function will call a service on my machine and will get back some options – amit Jun 19 '16 at 14:10
  • 1
    That's interesting. Thanks for illuminating the issue however I'd stick with normal tab completion. – user3439894 Jun 19 '16 at 14:17

0 Answers0