Browse Source

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

master
Mitch Tishmack 6 years ago
parent
commit
0b0308cb64
1 changed files with 4 additions and 1 deletions
  1. +4
    -1
      dotprofile.org

+ 4
- 1
dotprofile.org View File

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



Loading…
Cancel
Save