I found this more difficult to locate than it needed to be. If you want to add an alias to zsh in MacOS, say something like ‘ll’, it’s pretty simple.

If you’re comfortable with everyone on that system having the change, ‘sudo nano /etc/zshrc’

Add a line at the end – alias ll=’ls -al’

Save it and restart your terminal session.

Leave a comment

Your email address will not be published. Required fields are marked *