everyone. I am a bash/zsh user(Linux). I want to realize the following things.
First, input the command in the bash/zsh shell, like:
In fact, a program named `wonderful:' doesn't exists. What I want is to deal with the input-string with a function(or program) before the shell executes the command. More specifically, when the command input is `wonderful:', the shell deliver the input to my function/program, and that's all the shell does.
Does there exists a way to realize such a thing? Either bash or zsh is ok. Thanks a lot for your attention!