Permalink
Browse files

Merge pull request #4 from benseven/fix-urls

Fixing URLs; Github's URL change to raw.githubuserfiles.com breaks installation of Git Convenience
  • Loading branch information...
2 parents 0207d0b + 73b80b8 commit a1d87c18020f28df2873041c23d210f6bdf03694 @jakearchibald committed Jun 19, 2014
Showing with 7 additions and 7 deletions.
  1. +3 −3 README.md
  2. +4 −4 setup.sh
View
6 README.md
@@ -13,13 +13,13 @@ Works on OSX, Linux & Windows git-bash.
Trial it in your current terminal session:
```
-eval "$(curl -L https://raw.github.com/jakearchibald/git-convenience/master/setup.sh) trial"
+eval "$(curl -L https://raw.githubusercontent.com/jakearchibald/git-convenience/master/setup.sh) trial"
```
If it works for you, have it in all your terminals:
```
-eval "$(curl -L https://raw.github.com/jakearchibald/git-convenience/master/setup.sh)"
+eval "$(curl -L https://raw.githubusercontent.com/jakearchibald/git-convenience/master/setup.sh)"
```
## Shortcuts
@@ -41,7 +41,7 @@ If you've installed the wonderful [git-up](https://github.com/aanand/git-up) (wh
## Prompt
-![Prompt screenshot](https://raw.github.com/jakearchibald/git-convenience/master/screenshot.png)
+![Prompt screenshot](https://raw.githubusercontent.com/jakearchibald/git-convenience/master/screenshot.png)
The prompt shows the current branch & among other helpful things:
View
8 setup.sh
@@ -24,16 +24,16 @@ function setup_git_convenience {
# If git completion not installed...
if ! type -t __gitcomp > /dev/null 2>&1; then
- git_load_helper https://raw.github.com/git/git/e90020cdb3273af3b0c7915c0aacf16b19bbf994/contrib/completion/git-completion.bash "$HOME/.git-completion.bash" "$bash_startup_file" "$1"
+ git_load_helper https://raw.githubusercontent.com/git/git/e90020cdb3273af3b0c7915c0aacf16b19bbf994/contrib/completion/git-completion.bash "$HOME/.git-completion.bash" "$bash_startup_file" "$1"
fi
# If git prompt not installed...
if ! type -t __git_ps1 > /dev/null 2>&1; then
- git_load_helper https://raw.github.com/git/git/e90020cdb3273af3b0c7915c0aacf16b19bbf994/contrib/completion/git-prompt.sh "$HOME/.git-prompt.sh" "$bash_startup_file" "$1"
+ git_load_helper https://raw.githubusercontent.com/git/git/e90020cdb3273af3b0c7915c0aacf16b19bbf994/contrib/completion/git-prompt.sh "$HOME/.git-prompt.sh" "$bash_startup_file" "$1"
fi
- git_load_helper https://raw.github.com/jakearchibald/git-convenience/master/terminal-prefs.sh "$HOME/.terminal-prefs.sh" "$bash_startup_file" "$1"
- git_load_helper https://raw.github.com/jakearchibald/git-convenience/master/git-shortcuts.sh "$HOME/.git-shortcuts.sh" "$bash_startup_file" "$1"
+ git_load_helper https://raw.githubusercontent.com/jakearchibald/git-convenience/master/terminal-prefs.sh "$HOME/.terminal-prefs.sh" "$bash_startup_file" "$1"
+ git_load_helper https://raw.githubusercontent.com/jakearchibald/git-convenience/master/git-shortcuts.sh "$HOME/.git-shortcuts.sh" "$bash_startup_file" "$1"
unset setup_git_convenience
unset git_load_helper

0 comments on commit a1d87c1

Please sign in to comment.