Add output to rc shared updater.

This commit is contained in:
2026-03-28 12:19:25 -07:00
parent 74fb1def7f
commit df8f7f3101

View File

@@ -29,6 +29,7 @@ BOLD=`tput bold`
# Related specifically to this project. # Related specifically to this project.
function update-shared { function update-shared {
echo "Reloading the '~/.rc_shared' file from env-shared."
branch="$1" branch="$1"
if [[ -z "$branch" ]]; then if [[ -z "$branch" ]]; then
branch="dev" branch="dev"
@@ -42,6 +43,8 @@ function update-shared {
mv -v $dir/rc_shared.sh ~/.rc_shared mv -v $dir/rc_shared.sh ~/.rc_shared
mv -v $dir ~/TRASH/"$dir-`date "+%Y%m%d-%H%M%S"`" mv -v $dir ~/TRASH/"$dir-`date "+%Y%m%d-%H%M%S"`"
echo "Complete! Please note this does NOT update bin files."
} }
alias shared-update="update-shared" alias shared-update="update-shared"
alias reload-shared="update-shared" alias reload-shared="update-shared"