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
[ 2.9 ms ] story [ 30.5 ms ] threadBetter for the shells' builtins to be simple and extendable - rather than be optionated.
cd $*
ls
}
alias cd=cd_
hope that helps, have a nice day