Skip to content

Instantly share code, notes, and snippets.

@danbeam
Created May 19, 2011 21:31
Show Gist options
  • Save danbeam/981800 to your computer and use it in GitHub Desktop.
Save danbeam/981800 to your computer and use it in GitHub Desktop.
edit-reload-profile.sh
# reload this profile
reloadprofile() {
[ -x ~/.bash_profile ] && . ~/.bash_profile;
}
# edit this profile
editprofile() {
$EDITOR ~/.bash_profile;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment