aboutsummaryrefslogtreecommitdiff
path: root/bash/bashrc
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2013-05-26 14:02:13 +1200
committerTom Ryder <tom@sanctum.geek.nz>2013-05-26 14:02:13 +1200
commitc02f19355294dc074adf17f994417a73d6784136 (patch)
treee3dca9b4fc5beba60b36a38f75105d6b61ce6bd4 /bash/bashrc
parentMore intelligent PATH calculation (diff)
downloaddotfiles-c02f19355294dc074adf17f994417a73d6784136.tar.gz
dotfiles-c02f19355294dc074adf17f994417a73d6784136.zip
Explicit env variable exports
Diffstat (limited to 'bash/bashrc')
-rw-r--r--bash/bashrc6
1 files changed, 3 insertions, 3 deletions
diff --git a/bash/bashrc b/bash/bashrc
index 742f58ee..364f17ce 100644
--- a/bash/bashrc
+++ b/bash/bashrc
@@ -75,12 +75,12 @@ pathdirs="${HOME}/.local/bin
/usr/local/pgsql/bin"
for pathdir in $pathdirs; do
[[ -d "$pathdir" ]] \
- && PATH="${pathdir}:${PATH}"
+ && export PATH="${pathdir}:${PATH}"
done
-# Add various manual paths if they exist
+# Add home directory manual path if it exists
[[ -d "${HOME}/.local/share/man" ]] \
- && MANPATH="${HOME}/.local/share/man:${MANPATH}"
+ && export MANPATH="${HOME}/.local/share/man:${MANPATH}"
# Figure out how many colors we have now.
hash tput && colors=$(tput colors)