i want to have an alias "t" to enter a folder and list the content there.
i tried with:
alias t="cd $1; ls -la"
but it just listed the folder i typed but did not enter it. i wonder why?
cause when i use this one:
alias b="cd ..; ls"
it went back to the parent and listed the content.
so i want the "t" do enter the folder i type in too.
someone knows how to do this right?