thefuck version:
The Fuck 3.25 using Python 3.6.3
Using fish in Ubuntu 17.04
To reproduce the bug:
cd /var/log/apr
fuck # doesn't recommend /var/lib/apt as the correct path
cd /var/lib
cd apr
fuck # recommends /var/lib/apt as the correct path
Both commands with DEBUG activated yields a lot of lines finishing with:
DEBUG: Trying rule: cd_correction; took: 0:00:00.000028
So it seems that cd_correction is behaving differently when the path is absolute.