1. Olle Lundberg
  2. dotfiles

Commits

Olle Lundberg  committed 01d3c95

Yes, let's go for posix.

  • Participants
  • Parent commits 3da3c13
  • Branches default

Comments (0)

Files changed (3)

File .bash_profile

View file
 #! /bin/bash
 if [ -f ~/.bashrc ]; then
-	source ~/.bashrc
+	. ~/.bashrc
 fi

File .bashrc

View file
 	export PS4='$(date "+%s.%N ($LINENO) + ")'
 fi
 
-source ~/.bashrc.d/00_base.sh
+. ~/.bashrc.d/00_base.sh
 
 AddRc 	/etc/skel/.bashrc
 AddRc 	/etc/bashrc

File .bashrc.d/00_base.sh

View file
     do
       local rc=$file;
       if [ -n "$rc" -a -f "$rc" -a -r "$rc" ]; then
-        source "$rc"
+        . "$rc"
       fi
     done