The manual page for tcsh
is the place to start, because it gives an example which can be adapted:
For example, alias print 'pr !* | lpr'' defines a ``command'' (`print') which pr(1)s its arguments to the line printer.
Thus:
alias cd 'cd \!* ; ls'
This happens to work (see the section Alias substitution) because tcsh
detects the use of cd
in the alias and stops recurring:
Alias substitution is repeated until the first word of the command has no alias. If an alias substitution does not change the first word (as in the previous example) it is flagged to prevent a loop. Other loops are detected and cause an error.