Pārlūkot izejas kodu

For try_git print out the directory cd'd to similar to cd -

master
Mitch Tishmack pirms 6 gadiem
vecāks
revīzija
0b0308cb64
1 mainītis faili ar 4 papildinājumiem un 1 dzēšanām
  1. +4
    -1
      dotprofile.org

+ 4
- 1
dotprofile.org Parādīt failu

@@ -260,7 +260,10 @@ try_git()
fi
fi
else
[ -d "${repo}" ] && cd "${repo}"
if [ -d "${repo}" ]; then
echo "${repo}" | sed -e "s|$HOME|~|"
cd "${repo}"
fi
fi
}



Notiek ielāde…
Atcelt
Saglabāt