Why not a program or script put “ls” after I enter cd .. or cd – ?
Every time I enter into folder or back I'm curious to know what inside the folder. So why not the program can inject every time when I use " cd ". I know this may can't be done. I just expecting reviews from developer perspective.
8 comments
In Unix one could always write a function (not alias because it requires a parameter) that does this - http://askubuntu.com/questions/16106/how-can-i-create-an-ali.... I'm sure there's equivalents in Command Prompt/PowerShell as well.
Better for the shells' builtins to be simple and extendable - rather than be optionated.
Better for the shells' builtins to be simple and extendable - rather than be optionated.
[deleted]