From 2f331703749fee1357304cc731d82b1a2d14dbbf Mon Sep 17 00:00:00 2001 From: Phil Date: Mon, 7 Feb 2022 18:38:17 +0000 Subject: [PATCH] Fixed the command I just Fixed --- .bash_aliases | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.bash_aliases b/.bash_aliases index 2b19d41..6feb9a1 100644 --- a/.bash_aliases +++ b/.bash_aliases @@ -148,11 +148,11 @@ function pulldots() { # Check if folders are there and if its Master or Main if [ "$(grep -c -i ""master"" ~/git/dotfiles/.git/config )" -gt 0 ]; then - echo "dotfiles Found, Pulling master branch..." && cd ~/git/dotfiles && git checkout master && git pull && cd %% echo "" + echo "dotfiles Found, Pulling master branch..." && cd ~/git/dotfiles && git checkout master && git pull && cd ~ %% echo "" elif [ "$(grep -c -i ""main"" ~/git/dotfiles/.git/config )" -gt 0 ]; then - echo "dotfiles Found, Pulling main branch..." && cd ~/git/dotfiles && git checkout main && git pull && cd && echo "" + echo "dotfiles Found, Pulling main branch..." && cd ~/git/dotfiles && git checkout main && git pull && cd ~ && echo "" else echo "I can't seem to file any dotfiles folders" && echo ""