Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

add ~/[b]in/{*/,} to PATH... once

  • Loading branch information...
commit 26d376fef18c5ffd46ce548341049f89fcb20286 1 parent 387a63f
@xtfxme authored
View
9 .../self/data/profile/boot/bash
@@ -1,8 +1,13 @@
#!/bin/bash
-export PATH=~/bin:"$PATH"
-export ELLIPSIS=~/.../self/
+export PATH USERPATH ELLIPSIS
+PATH="${USERPATH:="$(
+ IFS=; shopt -s nullglob
+ x=(~/[b]in/{*/,})
+ echo -n "${x[*]/%?/:}"
+ )${PATH}"}"
+: ${ELLIPSIS:=~/.../self/}
# http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=649456#27
export NSS_SSL_CBC_RANDOM_IV=0
View
9 .../self/data/profile/etc/bash/interactive
@@ -1,8 +1,13 @@
#!/bin/bash
-export PATH=~/bin:"${PATH}"
-export ELLIPSIS=~/.../self/
+export PATH USERPATH ELLIPSIS
+PATH="${USERPATH:="$(
+ IFS=; shopt -s nullglob
+ x=(~/[b]in/{*/,})
+ echo -n "${x[*]/%?/:}"
+ )${PATH}"}"
+: ${ELLIPSIS:=~/.../self/}
export EDITOR='vim'
export BROWSER='chromium'
Please sign in to comment.
Something went wrong with that request. Please try again.