Skip to content

Instantly share code, notes, and snippets.

@bkeepers
Created Jun 19, 2009
Embed
What would you like to do?
Split bash profile into multiple files
# My ~/.profile file was getting too messy and unmaintainable, so I
# split everything out into separate files and sourced them
for file in ~/.profile.d/*
do
source $file
done
$ ls ~/.profile.d/
aliases colors completion prompt remember_path
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment