function in .kshrc to cd then ls
I need a function to put in .kshrc so that if I type:
it will go into that directory, then list its contents (using ls).
So, normally, I would do:
But, I want to just do:
How would I go about doing this?
Thanks for any help.