2025-01-03

This commit is contained in:
2025-01-03 10:00:00 -05:00
parent 10268bfc4b
commit adab317dba
2 changed files with 4 additions and 2 deletions
+3 -1
View File
@@ -3,12 +3,14 @@
# Navigate to the repository
cd ~/dotfiles || exit
brew bundle dump --file=~/dotfiles/Brewfile --force
# Check for changes
if [[ $(git status --porcelain) ]]; then
# There are changes, commit them
git add .
git commit -m "$(date +"%Y-%m-%d")"
git push
git push origin $BRANCH
else
echo "No changes to commit."
fi
+1 -1
View File
@@ -3,5 +3,5 @@ if [[ -n $SSH_CONNECTION ]]; then
export VISUAL='/opt/homebrew/bin/micro'
export EDITOR='/opt/homebrew/bin/micro'
else
export EDITOR='bbedit'
export EDITOR='micro'
fi