In sh, bash, ksh, I can use
put them in the login shell profile and can get my functions or script run before executing other shell command enter behind the prompt.
How to do that in csh ? csh has no "trap"?!
$ trap
with the signal DEBUG to get a hook of running command. like:
Code:
my_debug_func () {
xxx
...
}
trap my_debug_func DEBUG
How to do that in csh ? csh has no "trap"?!