Skip to content

Instantly share code, notes, and snippets.

@just3ws
Created November 15, 2013 15:19
Show Gist options
  • Save just3ws/7485969 to your computer and use it in GitHub Desktop.
Save just3ws/7485969 to your computer and use it in GitHub Desktop.
Append a file to and then re-source the current shell's RC file.
echo "source \$HOME/upcity/devenv/bin/host-functions.sh" >> "$HOME/.`basename "${SHELL}"`rc"
source $HOME/.`basename "${SHELL}"`rc
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment