From efa697a2c483b00a3fea30f942ce885389d19408 Mon Sep 17 00:00:00 2001 From: Sage Vaillancourt Date: Fri, 30 Aug 2024 14:15:55 -0400 Subject: [PATCH] Fix inverted conditionals --- fake_home/.zshrc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/fake_home/.zshrc b/fake_home/.zshrc index 6e0f43b..34630c0 100644 --- a/fake_home/.zshrc +++ b/fake_home/.zshrc @@ -257,7 +257,7 @@ function _pushdot { git push -u origin main fi fi - if [[ "$(hostname)" != "sage-bigboy" ]]; then + if [[ "$(hostname)" == "sage-bigboy" ]]; then cd - > /dev/null return $res fi @@ -301,7 +301,7 @@ function _getdot { fi cd "$DOT_DIR" || return 1 git pull && ./copy.sh | tee -a "$SYNC_LOCK_FILE" - if [[ "$(hostname)" != "sage-bigboy" ]]; then + if [[ "$(hostname)" == "sage-bigboy" ]]; then cd - > /dev/null return fi