Edit the file ~/.zshrc
(or ~/.bashrc, depending on which $SHELL
) and set an alias for everyday commands. Remember to do source ~/.zshrc
to allow changes to take effect.
alias sometext='go_to_scummvm_directory && ./configure --diable-all-engines --enable-engine=engines_under_development && make -j10 && ./scummvm'
and this
alias sometext='cd /scummvm_directory'
However it goes without saying that even with the best tools if you don’t use them it’s no good. I was able to do stuff still fine when I didn’t know how to do zsh magic, or even without --disable-all-engines
.