iMac running Mojave 10.14.6
I changed a folder name in Finder but I can't see the change in Terminal.
old folder name: A.B
new folder name: A
in Terminal ls still shows A.B
cd . or cd .. then cd back won't change the ls outcome.
in Finder using Go to Folder can go to the new folder name, however the Path bar at the bottom shows the new name but Copy as Pathname or New Terminal at Folder are using the old name.
Restarting the iMac won't fix.
What kind of bug is this? I can fix this by mv in Terminal but I'd prefer the syncing between Finder and Terminal automated.