.sh

Multi-shell dotfiles manager
Log | Files | Refs | README | LICENSE

commit 319ae5ee987aa73b127d01f31eb1710cfaf4dbdc
parent b4f9a19ca14f2f8f95ff5b3dfc9f7d9d6e871eca
Author: Byron Torres <b@torresjrjr.com>
Date:   Thu, 18 Feb 2021 05:51:50 +0000

Use POSIX '.' instead of 'source'

Diffstat:
Msh/.profile | 4++--
Msh/.shrc | 4++--
2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/sh/.profile b/sh/.profile @@ -26,10 +26,10 @@ export LESSHISTFILE="$XDG_CACHE_HOME/less/lesshst" ## Local test -f "$DOTSHELL/local/.profile" && - source "$DOTSHELL/local/.profile" + . "$DOTSHELL/local/.profile" ## Runtime # interactive login bash doesn't source .bashrc -test -n "${BASH_VERSION}" && source "$DOTSHELL/bash/.bashrc" +test -n "${BASH_VERSION}" && . "$DOTSHELL/bash/.bashrc" diff --git a/sh/.shrc b/sh/.shrc @@ -8,7 +8,7 @@ # bulitins alias c='clear' -alias rs='clear; source $DOTSHELL/sh/.shrc' # overwritten +alias rs='clear; . $DOTSHELL/sh/.shrc' # overwritten alias ls='ls --color=auto --group-directories-first' alias la='ls -FAX' alias ll='ls -FAXlh' @@ -45,7 +45,7 @@ runtime_print() { ## Local test -f "$DOTSHELL/local/.shrc" && - source "$DOTSHELL/local/.shrc" + . "$DOTSHELL/local/.shrc" ## Runtime