Allow shell expansion of entries in *dirs.
[profile.git] / .profile.d / PATH.bashrc
index 66d61b3..1a271aa 100644 (file)
@@ -30,6 +30,7 @@ function makepath() {
   # Read them.
   path=
   for dir in $(cat "$DIR/$dirs"); do
+    dir=$(eval echo "$dir")
     [ -d "$dir" ] || continue
 
     path="$path:$dir"