diff --git a/scripts/commit-dotfiles.sh b/scripts/commit-dotfiles.sh index 48494a5..3c750c5 100644 --- a/scripts/commit-dotfiles.sh +++ b/scripts/commit-dotfiles.sh @@ -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 diff --git a/zsh_config/ssh.zsh b/zsh_config/ssh.zsh index 48af622..94acea8 100644 --- a/zsh_config/ssh.zsh +++ b/zsh_config/ssh.zsh @@ -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