chore: cleanup

This commit is contained in:
2024-04-04 11:50:23 +03:00
parent cbae1a196c
commit 769a1f44fb

View File

@@ -2,10 +2,10 @@
source "$HOME/.dotfiles/plugins/colors.plugin.zsh"
local=$(git -C $HOME/.dotfiles rev-parse HEAD)
remote=$(git -C $HOME/.dotfiles rev-parse @{u})
loc=$(git -C $HOME/.dotfiles rev-parse HEAD)
rem=$(git -C $HOME/.dotfiles rev-parse @{u})
if [[ $local != $remote ]]; then
if [[ $loc != $rem ]]; then
echo_yellow "You have home updates waiting to be pulled/pushed."
echo_yellow "Use \`hp\` to push the local changes, or \`hli\` to pull & install the remote changes."
echo_yellow "Git status:\n"