Bash_Profile
.bash_profile is run on start up of login terminal
.bashrc is run on terminal nonlogin startup
For zsh(default after Catalina), .zprofile and .zshrc instead
http://www.joshstaiger.org/archives/2005/07/bash_profile_vs.html
tldr:
equivalent on mac, but add
if [ -f ~/.bashrc ]; then
source ~/.bashrc
fito bashprofile and then use .bashrc and don't worry about it
Basics
In ~
Make your own commands with
alias ll='ls -lAG'Load in current shell with
source ~/.bash_profile
12/2024
For adding to Warp
Zprofile
Assuming you installed oh my zsh
Functions
Project Specific
My Bash_Profile
Pro
Last updated