From 30f549c0672384220bd9fe301a98ff9da18d6726 Mon Sep 17 00:00:00 2001
From: Starbeamrainbowlabs <feedback@starbeamrainbowlabs.com>
Date: Wed, 5 Jul 2017 12:41:36 +0100
Subject: [PATCH 1/9] Add intelligent check to new .bash_host

---
 .bash_host | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/.bash_host b/.bash_host
index fe998cb..8ca0fb9 100644
--- a/.bash_host
+++ b/.bash_host
@@ -32,3 +32,8 @@ HOST_COLOUR="${HC}${FYEL}"
 # Whether we should disable hh integration or not.
 # Useful if we're on a machine that doesn't have it installed.
 NO_HH=false;
+
+which hh;
+if [[ "$?" -ne "0" ]; then
+	NO_HH=true;
+fi

From 363ae18087b17a93074619e29538df56b36d80f0 Mon Sep 17 00:00:00 2001
From: Starbeamrainbowlabs <feedback@starbeamrainbowlabs.com>
Date: Wed, 5 Jul 2017 13:16:01 +0100
Subject: [PATCH 2/9] Enhance cloudjumper

---
 cloudjumper/cloudjumper.sh | 36 ++++++++++++++++++++++++++++++++----
 1 file changed, 32 insertions(+), 4 deletions(-)
 mode change 100644 => 100755 cloudjumper/cloudjumper.sh

diff --git a/cloudjumper/cloudjumper.sh b/cloudjumper/cloudjumper.sh
old mode 100644
new mode 100755
index 0e9da2e..b41ac17
--- a/cloudjumper/cloudjumper.sh
+++ b/cloudjumper/cloudjumper.sh
@@ -1,18 +1,46 @@
 #!/usr/bin/env bash
 
+echo -ne "Initialsing cloudsurfer: ";
+
 ### Settings ###
 
 aliases_url="https://raw.githubusercontent.com/sbrl/bin/master/.bash_aliases";
 
 ################
+echo -ne "s";
+
+
+### Aliases file ###
 
 aliases_tmp_file=$(mktemp --suffix ".cloudjumper.sh");
 
-curl -o "${aliases_tmp_file}" "${aliases_url}"
-chmod u+x "${aliases_tmp_file}"
+curl -o "${aliases_tmp_file}" "${aliases_url}" 2>/dev/null;
+ec_alias_download="$?";
+if [[ "${ec_alias_download}" -ne "0" ]]; then
+	echo "E";
+	echo "Error\! Got exit code ${ec_alias_download} from curl when downloading the bash_aliases file";
+	exit ${ec_alias_download};
+fi;
+chmod u+x "${aliases_tmp_file}";
 
-source "${aliases_tmp_file}"
+source "${aliases_tmp_file}";
 
+####################
+echo -ne "+a";
 
-rm "${aliases_tmp_file}"
+### Prompt ###
 
+# Set the prompt to a cyan / blue colour to let everyone know we've enabled cloudjumper successfully
+PS1="\[\033[1m\]\[\033[34m\]${PS1}\[\033[0m\]";
+
+##############
+echo -ne "+p";
+
+### Cleanup ###
+
+rm "${aliases_tmp_file}" >/dev/null;
+
+###############
+echo -ne "+c";
+
+echo " - done";

From 93c24a04b8abbc0d0125f9678991c8d33b1f09f1 Mon Sep 17 00:00:00 2001
From: Starbeamrainbowlabs <feedback@starbeamrainbowlabs.com>
Date: Wed, 5 Jul 2017 13:18:48 +0100
Subject: [PATCH 3/9] Rename cloudjumper -> cloudsurfer

---
 README.md                                                | 7 ++++---
 cloudjumper/cloudjumper.sh => cloudsurfer/cloudsurfer.sh | 0
 2 files changed, 4 insertions(+), 3 deletions(-)
 rename cloudjumper/cloudjumper.sh => cloudsurfer/cloudsurfer.sh (100%)

diff --git a/README.md b/README.md
index 80204b1..1249d29 100644
--- a/README.md
+++ b/README.md
@@ -56,16 +56,17 @@ Here's a list of the most interesting ones, along with what they do and where th
  - nautilus-here - A quick command that  opens nautilus in the current directory. For lazy people :P
  - ssh-retry - I forget where it came from, but this command reepeatedly calls ssh until it succeeds in connecting.
 
-## `cloudjumper.sh`
-`cloudjumper.sh` is a new script I'm writing to bring some of the customisations I store here in this repository to terminals on shared machines - where I can't modify `.bashrc`, for example.
+## `cloudsurfer.sh`
+`cloudsurfer.sh` is a new script I'm writing to bring some of the customisations I store here in this repository to terminals on shared machines - where I can't modify `.bashrc`, for example.
 
 It's designed to be executed in a single bash context, and leave no trace on the host machine after the customisations are applied - just in case the bash process crashes! If need be, it can also be executed in multiple separate bash processes and will bring the customisations to each one separately - without interfering with the rest of the machine.
 
-Due to it's transient nature, cloudjumper is bound to be more lightweight and be missing a few features of the full list that my main bin folder can provide, but the aim is to make a foreign terminal feel a bit more like home :smiley_cat:
+Due to it's transient nature, cloudsurfer is bound to be more lightweight and be missing a few features of the full list that my main bin folder can provide, but the aim is to make a foreign terminal feel a bit more like home :smiley_cat:
 
 Here's a list of things it currently supports:
 
  - Aliases - by dynamically loading the main `.bash_aliases`
+ - Colouring the prompt to remind you that cloudsurfer is active
  - _(Got an idea of something to include? File an issue, or open a pull request!)_
 
 ## Disclaimer
diff --git a/cloudjumper/cloudjumper.sh b/cloudsurfer/cloudsurfer.sh
similarity index 100%
rename from cloudjumper/cloudjumper.sh
rename to cloudsurfer/cloudsurfer.sh

From 50a6f07dbd825690af539c07c98d73c1cdc0003f Mon Sep 17 00:00:00 2001
From: Starbeamrainbowlabs <sbrl@starbeamrainbowlabs.com>
Date: Thu, 6 Jul 2017 08:45:41 +0100
Subject: [PATCH 4/9] Add code to utilise cloudsurfer to README

---
 README.md | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/README.md b/README.md
index 1249d29..25ea8da 100644
--- a/README.md
+++ b/README.md
@@ -69,6 +69,11 @@ Here's a list of things it currently supports:
  - Colouring the prompt to remind you that cloudsurfer is active
  - _(Got an idea of something to include? File an issue, or open a pull request!)_
 
+To use it, simply paste this into the target terminal:
+
+```bash
+cstemp=$(mktemp); curl -o ${cstemp}; -L https://goo.gl/ZTtVRq; chmod +x ${cstemp}; source ${cstemp}; rm ${cstemp}; 
+```
+
 ## Disclaimer
 I don't own many of the tools in this repository. If you are an owner of one of these tools and I haven't linked to you, please let me know as I probably forgot.
-

From 1f1fc1681b2db6dfd4b0bce1f1660cf7e7e14f35 Mon Sep 17 00:00:00 2001
From: Starbeamrainbowlabs <sbrl@starbeamrainbowlabs.com>
Date: Thu, 6 Jul 2017 08:46:44 +0100
Subject: [PATCH 5/9] Update README.md

---
 README.md | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/README.md b/README.md
index 25ea8da..761a7df 100644
--- a/README.md
+++ b/README.md
@@ -72,7 +72,7 @@ Here's a list of things it currently supports:
 To use it, simply paste this into the target terminal:
 
 ```bash
-cstemp=$(mktemp); curl -o ${cstemp}; -L https://goo.gl/ZTtVRq; chmod +x ${cstemp}; source ${cstemp}; rm ${cstemp}; 
+cstemp=$(mktemp); curl -o ${cstemp}; -L https://goo.gl/ZTtVRq; chmod +x ${cstemp}; source ${cstemp}; rm ${cstemp}; cstemp=;
 ```
 
 ## Disclaimer

From 20b178ae42c4b9f6b1d603678ce521d2549cec2a Mon Sep 17 00:00:00 2001
From: Starbeamrainbowlabs <sbrl@starbeamrainbowlabs.com>
Date: Thu, 6 Jul 2017 15:27:48 +0100
Subject: [PATCH 6/9] Update README.md

---
 README.md | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/README.md b/README.md
index 761a7df..a0715f8 100644
--- a/README.md
+++ b/README.md
@@ -72,7 +72,7 @@ Here's a list of things it currently supports:
 To use it, simply paste this into the target terminal:
 
 ```bash
-cstemp=$(mktemp); curl -o ${cstemp}; -L https://goo.gl/ZTtVRq; chmod +x ${cstemp}; source ${cstemp}; rm ${cstemp}; cstemp=;
+cstemp=$(mktemp); curl -o ${cstemp} -L https://goo.gl/ZTtVRq; chmod +x ${cstemp}; source ${cstemp}; rm ${cstemp}; cstemp=;
 ```
 
 ## Disclaimer

From 812a5e176e1b1c20bfeb06ddd3f9462e3e482771 Mon Sep 17 00:00:00 2001
From: Starbeamrainbowlabs <sbrl@starbeamrainbowlabs.com>
Date: Fri, 7 Jul 2017 14:39:44 +0100
Subject: [PATCH 7/9] Update README.md

---
 README.md | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/README.md b/README.md
index a0715f8..deae4c3 100644
--- a/README.md
+++ b/README.md
@@ -75,5 +75,11 @@ To use it, simply paste this into the target terminal:
 cstemp=$(mktemp); curl -o ${cstemp} -L https://goo.gl/ZTtVRq; chmod +x ${cstemp}; source ${cstemp}; rm ${cstemp}; cstemp=;
 ```
 
+and then to drop out of cloudsurfer again:
+
+```bash
+exec bash && reset
+```
+
 ## Disclaimer
 I don't own many of the tools in this repository. If you are an owner of one of these tools and I haven't linked to you, please let me know as I probably forgot.

From e0c6dc5eff0e4d636b6eec29061bbc1dc34ead95 Mon Sep 17 00:00:00 2001
From: Starbeamrainbowlabs <sbrl@starbeamrainbowlabs.com>
Date: Fri, 7 Jul 2017 14:40:37 +0100
Subject: [PATCH 8/9] Update README.md

---
 README.md | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/README.md b/README.md
index deae4c3..fddd100 100644
--- a/README.md
+++ b/README.md
@@ -56,7 +56,7 @@ Here's a list of the most interesting ones, along with what they do and where th
  - nautilus-here - A quick command that  opens nautilus in the current directory. For lazy people :P
  - ssh-retry - I forget where it came from, but this command reepeatedly calls ssh until it succeeds in connecting.
 
-## `cloudsurfer.sh`
+## cloudsurfer.sh
 `cloudsurfer.sh` is a new script I'm writing to bring some of the customisations I store here in this repository to terminals on shared machines - where I can't modify `.bashrc`, for example.
 
 It's designed to be executed in a single bash context, and leave no trace on the host machine after the customisations are applied - just in case the bash process crashes! If need be, it can also be executed in multiple separate bash processes and will bring the customisations to each one separately - without interfering with the rest of the machine.

From 69f750e91e311bf53e206cf555b255550e62fb3e Mon Sep 17 00:00:00 2001
From: Starbeamrainbowlabs <sbrl@starbeamrainbowlabs.com>
Date: Mon, 10 Jul 2017 13:38:53 +0100
Subject: [PATCH 9/9] Update README.md

---
 README.md | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/README.md b/README.md
index fddd100..c4f28cb 100644
--- a/README.md
+++ b/README.md
@@ -72,7 +72,7 @@ Here's a list of things it currently supports:
 To use it, simply paste this into the target terminal:
 
 ```bash
-cstemp=$(mktemp); curl -o ${cstemp} -L https://goo.gl/ZTtVRq; chmod +x ${cstemp}; source ${cstemp}; rm ${cstemp}; cstemp=;
+   cstemp=$(mktemp); curl -o ${cstemp} -L https://goo.gl/ZTtVRq; chmod +x ${cstemp}; source ${cstemp}; rm ${cstemp}; cstemp=;
 ```
 
 and then to drop out of cloudsurfer again:
