I have a directory like this:
Project and after many sub directories, I have a script names
ninja that needs to be run with
./ninja. In other words:
Of course, I can just
Project and execute
./ninja. However, I am writing an alias to run that command via bashrc.
alias runNinja = cd ~/Project/sub1/sub2/sub3 && ./ninja
Can we do it 1 command?
alias runNinja = .~/Project/sub1/sub2/sub3/ninja
The above obviously doesnt work, or even this
alias runNinja = ./home/user/Project/sub1/sub2/sub3/ninja
TL,DR: How to shorten alias to run script in directories?