2025-01-03
This commit is contained in:
@@ -7,7 +7,7 @@ cd ~/dotfiles || exit
|
|||||||
if [[ $(git status --porcelain) ]]; then
|
if [[ $(git status --porcelain) ]]; then
|
||||||
# There are changes, commit them
|
# There are changes, commit them
|
||||||
git add .
|
git add .
|
||||||
git commit -m "$(date +"%Y-%m-%d %H:%M:%S")"
|
git commit -m "$(date +"%Y-%m-%d")"
|
||||||
git push
|
git push
|
||||||
else
|
else
|
||||||
echo "No changes to commit."
|
echo "No changes to commit."
|
||||||
|
|||||||
+1
-1
@@ -3,5 +3,5 @@ if [[ -n $SSH_CONNECTION ]]; then
|
|||||||
export VISUAL='/opt/homebrew/bin/micro'
|
export VISUAL='/opt/homebrew/bin/micro'
|
||||||
export EDITOR='/opt/homebrew/bin/micro'
|
export EDITOR='/opt/homebrew/bin/micro'
|
||||||
else
|
else
|
||||||
export EDITOR='mvim'
|
export EDITOR='bbedit'
|
||||||
fi
|
fi
|
||||||
|
|||||||
Reference in New Issue
Block a user