-
-
Notifications
You must be signed in to change notification settings - Fork 2.2k
Closed
Labels
Milestone
Description
macOS Sierra/iterm
For testing purposes, I moved my fish directory elsewhere. If I set CDPATH to ~/mydirs, then if I am in my home dir, attempting to cd to any subdir fails. Note that ~/mydirs is empty at this point.
This terminal listing shows the issue.
Welcome to fish, the friendly interactive shell
david@Davids-MacBook-Pro ~> cd bin
david@Davids-MacBook-Pro ~/bin> ..
david@Davids-MacBook-Pro ~> set -x CDPATH /Users/david/mydirs/
david@Davids-MacBook-Pro ~> cd bin
cd: The directory 'bin' does not exist
david@Davids-MacBook-Pro ~> fish --version
fish, version 2.6.0
david@Davids-MacBook-Pro ~> echo $version
2.6.0
david@Davids-MacBook-Pro ~>
If I unset CDPATH, I can cd to subdirs of $HOME again.
I thought it might be something I did, but I removed my .config/fish directory and it still happens.
Reactions are currently unavailable