Terminal Commands

Creating Commands zshrc & bash

1. Create command .zshrc

Opens the hidden .zshrc file (with li -la) or create the file if it doesn't exist

Add command like so with alias

alias trpbcpy="tree -R | pbcopy"

Then run the following command, or , reopen a terminal window

source ~/.zshrc