How do I create an alias c that will cd and then immediately ls?
alias c='cd; ls'
Is there some kind of way to insert a special variable that represents the input? Or is that not the way that alias operates at all?
|
feedback
|
|
Correct. Use a function instead.
| |||||||
feedback
|