Sometimes my shell (zsh) takes longer to start than usual (I open the terminal, and it hangs a bit until I can input commands).
I have a few aliases on my .zshrc (well, actually they're in a different file that .zshrc does a source on).
If you make an alias with the shell open, it remains valid only through the current session, so I started to wonder if all this source and alias actually harm the shell's startup performance (I'm assuming it has to go through a lengthy process of running all those commands on start).
If that does happen, wouldn't it just be more effective to have those aliases as shell scripts and put them somewhere in my PATH?
set | wc. Or some dns lookup may happen. – ott-- Jan 29 at 21:19