[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#74524: 29.4; dirtrack-mode
From: |
Eli Zaretskii |
Subject: |
bug#74524: 29.4; dirtrack-mode |
Date: |
Mon, 25 Nov 2024 14:38:37 +0200 |
> From: Colton Goates <coltongoates@gmail.com>
> Date: Sun, 24 Nov 2024 20:55:37 -0700
>
> In a shell, running a command like the following causes a problem with
> dirtrack-mode:
>
> echo 'Coltons-MacBook-Pro:/Users/coltongoates/software-dev/$'
>
> After running this command, dirtrack thinks I changed to a different
> directory based on the output, and it sets the default-directory
> variable to the output of the echo command. Thus, the actual working
> directory and shell directory are out of sync.
Isn't that because the colon in this (unusual) directory name? If so,
you could perhaps customize the regexp in dirtrack-list to solve this?