Skip to content

Commit

Permalink
Fix curl bootstrap instructions and Go path
Browse files Browse the repository at this point in the history
  • Loading branch information
adrw committed Dec 5, 2018
1 parent 8815456 commit 2c2f979
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 4 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
1. Installs .adrw-aliases, .adrw-functions, bash & zsh powerline themes

```Bash
$ curl -s https://raw.githubusercontent.com/adrw/.files/master/bootstrap.sh | bash -s
$ curl -s https://raw.githubusercontent.com/adrw/.files/master/get-bootstrap.sh | bash -s && ./bootstrap.sh
```

2. fin.
Expand All @@ -23,13 +23,13 @@ $ curl -s https://raw.githubusercontent.com/adrw/.files/master/bootstrap.sh | ba
1. Provision with command below in Terminal for interactive mode

```Bash
$ curl -s https://raw.githubusercontent.com/adrw/.files/master/bootstrap.sh | bash -s
$ curl -s https://raw.githubusercontent.com/adrw/.files/master/get-bootstrap.sh | bash -s && ./bootstrap.sh
```

OR provision with command below including any custom arguments in Terminal

```Bash
$ cd ${HOME}/; curl -sO https://raw.githubusercontent.com/adrw/.files/master/bootstrap.sh; chmod +x ${HOME}/bootstrap.sh; ${HOME}/bootstrap.sh; rm ${HOME}/bootstrap.sh
$ curl -s https://raw.githubusercontent.com/adrw/.files/master/get-bootstrap.sh | bash -s && ./bootstrap.sh <opts>
```

5. Reboot (sometimes required) and fin.
Expand Down
3 changes: 2 additions & 1 deletion ansible/roles/go/defaults/main.yml
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
go__path: "export PATH=$PATH:/Users/adrw/.homebrew/opt/go/libexec/bin"
go__path: "export GOROOT=/Users/adrw/.homebrew/opt/go/libexec
\nexport PATH=$PATH:/Users/adrw/.homebrew/opt/go/libexec/bin"
5 changes: 5 additions & 0 deletions get-bootstrap.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
#!/bin/sh

rm ./bootstrap.sh
curl -s https://raw.githubusercontent.com/adrw/.files/master/bootstrap.sh -o bootstrap.sh
chmod +x bootstrap.sh

0 comments on commit 2c2f979

Please sign in to comment.