From 1cb603c657a6271765b088d4036c12b1b5ef01e5 Mon Sep 17 00:00:00 2001 From: earnest ma Date: Tue, 9 Jan 2024 07:20:50 -0500 Subject: [PATCH] * --- zsh/.zshrc | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/zsh/.zshrc b/zsh/.zshrc index b0342ca..e610188 100644 --- a/zsh/.zshrc +++ b/zsh/.zshrc @@ -116,18 +116,6 @@ magit() { # eye candy: auto onefetch (consider if this is really needed lol) # https://www.reddit.com/r/unixporn/comments/sxa02o/oc_neofetch_for_git_repositories/ -LAST_REPO="" -cd(){ - builtin cd "$@" - git rev-parse 2>/dev/null - - if [ $? -eq 0 ]; then - if [ "$LAST_REPO" != $(basename $(git rev-parse --show-toplevel)) ]; then - onefetch - LAST_REPO=$(basename $(git rev-parse --show-toplevel)) - fi - fi -} # PLUGINS! # `miniplug update`