summaryrefslogtreecommitdiff
path: root/etc
diff options
context:
space:
mode:
authorDaniel Friesel <derf@derf.homelinux.org>2008-06-14 14:57:49 +0200
committerDaniel Friesel <derf@derf.homelinux.org>2008-06-14 14:57:49 +0200
commitbae4acbe843e9611d0b5f8b38ba2dc6ed1b50713 (patch)
treefbf2e1ffcf5db86aef8c27cbbfdaf1f87ebaa5b2 /etc
parent3cf2b68c86ca14c4aa6e353769ff6acaec465e7a (diff)
etc/variables: Only add ~/bin to PATH if it's not already there
Diffstat (limited to 'etc')
-rw-r--r--etc/variables2
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/variables b/etc/variables
index f8b9cb0..07d938f 100644
--- a/etc/variables
+++ b/etc/variables
@@ -7,7 +7,7 @@ SAVEHIST=$HISTSIZE
DIRSTACKSIZE=20
# Paths
-export PATH=$HOME/bin:$PATH
+[ "$path[1]" = "$HOME/bin" ] || export PATH=$HOME/bin:$PATH
linux: [ -z "$MANPATH" ] && export MANPATH=$(manpath):$HOME/packages/.collected/man
# Used by other programs