Skip to content

Instantly share code, notes, and snippets.

View msmallest's full-sized avatar
🦏
neato

Michael Small msmallest

🦏
neato
  • 12:49 (UTC -05:00)
View GitHub Profile
@alexpaul
alexpaul / Bash.md
Last active February 9, 2025 02:05
Creating a Bash Profile

Bash

What is a bash_profile

There is a hidden file in your Mac’s user directory named .bash_profile. This file is loaded before Terminal loads your shell environment and contains all the startup configuration and preferences for your command line interface. Within it you can change your terminal prompt, change the colors of text, add aliases to functions you use all the time, and so much more.

Creating a .bash_profile

If you run the open ~/.bash_profile command and do not have a current .bash_profile, follow these steps to create one:

  1. Open Terminal