2025-01-03
This commit is contained in:
@@ -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
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user