Skip to content

Instantly share code, notes, and snippets.

@tryallthethings
Forked from spuder/setup-spencers-bash.sh
Last active January 3, 2020 17:02
Show Gist options
  • Save tryallthethings/e78ec9084d11bcb489d54ada6827e86e to your computer and use it in GitHub Desktop.
Save tryallthethings/e78ec9084d11bcb489d54ada6827e86e to your computer and use it in GitHub Desktop.
A script that pulls my bash profile from gists stored on github
#!/bin/bash
#Usage: Execute the following command:
<<COMMENT1
curl -L https://gist.github.com/tryallthethings/e78ec9084d11bcb489d54ada6827e86e/raw/ | bash -x
COMMENT1
#Once this file has been executed once, you can pull the latest updates with 'bashupdate'
curl -L https://gist.githubusercontent.com/tryallthethings/b8c0b8432403f09ff36cb7e68b9e50f3/raw/ > ~/.bashrc
source ~/.bashrc
#curl -L https://gist.github.com/spuder/730226a73e45f5d3cff5/raw/ > ~/.bash_ps1
# The url's are derived from clicking the <> button on github, then truncating everything after /raw/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment