Add markers test for PWD

This commit is contained in:
Ilan Cosman 2021-02-11 11:34:20 -08:00
parent c2ba6ead2f
commit b7c044d4f3

View File

@ -43,5 +43,10 @@ _pwd "$longDir" # CHECK: ~/a/b/c/d/e/f/g/hotel/inda/juliett/kilo/lima/mike/novem
# Truncate to unique
mkdir -p ~/alfa/bratwurst
_pwd "$longDir" # CHECK: ~/a/brav/c/d/e/f/g/h/inda/juliett/kilo/lima/mike/november/oscar/papa
rm -r ~/alfa/bratwurst
# Markers
mkdir -p ~/alfa/.git
_pwd "$longDir" # CHECK: ~/a/bravo/c/d/e/f/g/h/inda/juliett/kilo/lima/mike/november/oscar/papa
rm -r ~/alfa