From 209def1454d2008f086fb21319973d6e8f93e9ae Mon Sep 17 00:00:00 2001
From: George Marshall <george@georgemarshall.name>
Date: Wed, 5 Apr 2017 16:18:22 -0700
Subject: [PATCH] Add rust module

---
 modules/rust/README.md | 4 ++++
 modules/rust/init.zsh  | 3 +++
 2 files changed, 7 insertions(+)
 create mode 100644 modules/rust/README.md
 create mode 100644 modules/rust/init.zsh

diff --git a/modules/rust/README.md b/modules/rust/README.md
new file mode 100644
index 00000000..ac58f36c
--- /dev/null
+++ b/modules/rust/README.md
@@ -0,0 +1,4 @@
+Rust
+====
+
+Enables local development with [rustup](https://rustup.rs/).
diff --git a/modules/rust/init.zsh b/modules/rust/init.zsh
new file mode 100644
index 00000000..7760cf72
--- /dev/null
+++ b/modules/rust/init.zsh
@@ -0,0 +1,3 @@
+if [[ -d "$HOME/.cargo/bin" ]]; then
+  path=($HOME/.cargo/bin $path)
+fi