bunch of updates and fixes
[distro-setup] / filesystem / etc / profile.d / environment.sh
index 1d49f6a3f55a671e24039a901f5b060d785c5c83..96f0271c18aadc5a34f63460aab960f0d870948a 100644 (file)
@@ -1,18 +1,18 @@
-if [ -f $HOME/path_add-function ]; then
-  . $HOME/path_add-function
-  path_add /usr/sbin /usr/local/sbin /sbin /a/exe /a/opt/bin
-  path_add --end $HOME/.cabal/bin
+if [ -f $HOME/path-add-function ]; then
+  . $HOME/path-add-function
+  path-add /usr/sbin /usr/local/sbin /sbin /a/exe /a/opt/bin
+  path-add --end $HOME/.cabal/bin
 
   if [ -r /etc/alternatives/java_sdk ]; then
     export JAVA_HOME=/etc/alternatives/java_sdk
-    path_add /etc/alternatives/java_sdk
+    path-add /etc/alternatives/java_sdk
   fi
 
   export GUIX_PROFILE=/root/.config/guix/current
   if [[ -e $GUIX_PROFILE/etc/profile ]]; then
     source $GUIX_PROFILE/etc/profile
   fi
-  path_add $HOME/.guix-profile/bin
+  path-add $HOME/.guix-profile/bin
   export GUIX_LOCPATH=$HOME/.guix-profile/lib/locale
 
 fi