-
-
Notifications
You must be signed in to change notification settings - Fork 2.2k
Description
Today I logged onto my machine and tried to cd ~/Downloads, but to my surprise fish returned an error cd: '/Users/x/Downloads/' is a rotten symlink.
It seems to originate from the builtin_cd function call here, however I can't tell what the reason is since my Downloads directory is not a symlink.
I'm able to cd into any other directory just fine and I'm able to access ~/Downloads through MacOS's file explorer (Finder) so I don't think the directory is corrupt.
When I chsh -s /bin/bash, I'm able to cd ~/Downloads just fine!
My config.fish is just the default config, and I've already tried reinstalling Fish from my package manager (homebrew), to no avail.
System info
Fish version: 3.3.1
Operating system: MacOS 11.5.2, arm64
Terminal: Alacritty
Affected by third-party customizations: no, output is the same
I have a feeling this may be difficult to reproduce but I thought I'd put this out there just in case there is an easy solution to be found.