mirror of
https://github.com/fish-shell/fish-shell.git
synced 2025-03-06 18:21:39 +08:00

The hg prompt walks up the directory hierarchy to decide if we are in a repo subdirectory. Because hg is an external command, it resolves symlinks. Switch to using pwd -P so hg and fish will have the same view of the hg repo. Based on comment: https://github.com/fish-shell/fish-shell/pull/5190#issuecomment-421912360