I have aliased a long path in .bashrc
file as
alias py="cd ~/Myprograms/Langs/workout/PythonScripts"
Now assume there is an another directory in PythonScripts say "basics"
How do I use the above alias without changing it, i.e, something like py/basics
.
I tried this and it results in error
bash: py/basics: no such file or directory
How do I do this ?