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