fix dirtrack mode so it'll properly track directories when you change them -- assuming a prompt that starts with the path followed by a colon