aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEuAndreh <eu@euandre.org>2018-12-03 07:58:44 -0200
committerEuAndreh <eu@euandre.org>2018-12-03 07:58:44 -0200
commita9c64c33f01e67af1c83cbbe893b7142fae266ef (patch)
treeb0dc51b2d1d3e81464799561a59f9ace6a525946
parentmacOS: prefer local bin over system bin. (diff)
downloaddotfiles-a9c64c33f01e67af1c83cbbe893b7142fae266ef.tar.gz
dotfiles-a9c64c33f01e67af1c83cbbe893b7142fae266ef.tar.xz
Restrict autojump hack to Linux.
-rw-r--r--bash/bashrc.sh5
1 files changed, 3 insertions, 2 deletions
diff --git a/bash/bashrc.sh b/bash/bashrc.sh
index 037083c6..d06692b6 100644
--- a/bash/bashrc.sh
+++ b/bash/bashrc.sh
@@ -27,8 +27,9 @@ env > ~/.spacemacs.env
export PATH="$HOME/annex/dev/code/songbooks/cli:$PATH"
alias sb="songbooks"
-source "$(dirname $(readlink $(which autojump)))/../share/autojump/autojump.bash"
-
+isLinux && {
+ source "$(dirname $(readlink $(which autojump)))/../share/autojump/autojump.bash"
+}
export PATH="$HOME/.perl6/bin:$PATH"