~/.functions put the .functions file in your home directory, and add this to the last line of .bashrc or .zshrc depending on what shell you use! source ~/.functions if you don't know which shell you are using, execute this echo $0