]> gitweb.fluxo.info Git - rhatto/dotfiles/profile.git/commitdiff
Fix: profile: source custom scripts with a dot
authorSilvio Rhatto <rhatto@riseup.net>
Wed, 3 Jul 2024 20:00:56 +0000 (17:00 -0300)
committerSilvio Rhatto <rhatto@riseup.net>
Wed, 3 Jul 2024 20:00:56 +0000 (17:00 -0300)
profile.dot.link

index b0626b4076d32ab48f5a24718f03173cdd7d92f3..bc7586eb6d918f12468380602c09602a037075be 100644 (file)
@@ -421,14 +421,14 @@ cd $STARTUP_FOLDER
 # Include other profiles
 if [ -d "$HOME/.profile.d" ]; then
   for script in `ls $HOME/.profile.d`; do
-    source $HOME/.profile.d/$script
+    . $HOME/.profile.d/$script
   done
 fi
 
 # Include custom profiles
 if [ -d "$HOME/.custom/profile.d" ]; then
   for script in `ls $HOME/.custom/profile.d`; do
-    source $HOME?.custom/profile.d/$script
+    . $HOME/.custom/profile.d/$script
   done
 fi