aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Runge <david.runge@frqrec.com>2013-12-11 17:01:20 +0100
committerDavid Runge <david.runge@frqrec.com>2013-12-11 17:01:20 +0100
commitf6c353143bafac583ea040eea7694a05a381fb35 (patch)
treec66d52e419e71580b279b7d9c51ad760677eccca
parentccbe4d0a313be1424becd3c051fba674526c8acc (diff)
downloaddotfiles-f6c353143bafac583ea040eea7694a05a381fb35.tar.gz
dotfiles-f6c353143bafac583ea040eea7694a05a381fb35.tar.bz2
dotfiles-f6c353143bafac583ea040eea7694a05a381fb35.tar.xz
dotfiles-f6c353143bafac583ea040eea7694a05a381fb35.zip
Added /opt/vc/bin and /opt/vc/sbin to PATH for raspberry pi
-rw-r--r--.zsh.before/path.zsh8
1 files changed, 7 insertions, 1 deletions
diff --git a/.zsh.before/path.zsh b/.zsh.before/path.zsh
index 5519374..f463e69 100644
--- a/.zsh.before/path.zsh
+++ b/.zsh.before/path.zsh
@@ -1,4 +1,5 @@
# < BEFORE $PATH
+PATH=$HOME/bin:$PATH
# > BEFORE
# < AFTER $PATH
@@ -12,5 +13,10 @@
## RVM
PATH=$PATH:$HOME/.rvm/bin # Add RVM to PATH for scripting
-PATH=$HOME/bin:$PATH
+
+## RASPBERRY PI
+if [[ "$HOST" == *pitheunlord* ]]; then
+ PATH=$PATH:"/opt/vc/bin:/opt/vc/sbin"
+fi
+
# > AFTER