generated from me/template-mit
Add output to rc shared updater.
This commit is contained in:
@@ -29,6 +29,7 @@ BOLD=`tput bold`
|
||||
# Related specifically to this project.
|
||||
|
||||
function update-shared {
|
||||
echo "Reloading the '~/.rc_shared' file from env-shared."
|
||||
branch="$1"
|
||||
if [[ -z "$branch" ]]; then
|
||||
branch="dev"
|
||||
@@ -42,6 +43,8 @@ function update-shared {
|
||||
mv -v $dir/rc_shared.sh ~/.rc_shared
|
||||
|
||||
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 reload-shared="update-shared"
|
||||
|
||||
Reference in New Issue
Block a user