earnest ma 2024-01-09 07:20:50 -05:00
parent 52429df53e
commit 1cb603c657
Signed by: earnest ma
GPG Key ID: A343F43342EB6E2A
1 changed files with 0 additions and 12 deletions

View File

@ -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`