- Jun
- 42
- 0
Is there a way to disable automatic directory changes?
If not could that be added to the suggestion list?
Even better, could a special alias (like UNKNOWN_CMD, perhaps AUTO_CD) be added to allow redefining how automatic directory changes work?
For years I have aliased cd to something else, exactly what has varied. For example, I have often had cd aliased to *pushd. Unfortunately, automatic directory changes easily defeat any alias to cd/cdd/pushd/etc. I would like to ensure that all directory changes occur through a method of my choice. Now I'm in the habit of not using automatic directory changes, but every once in a while it happens anyway. Then of course my directory stack is incomplete and incorrect. I would, of course, prefer to maintain an accurate and complete directory stack.
- Josh
If not could that be added to the suggestion list?
Even better, could a special alias (like UNKNOWN_CMD, perhaps AUTO_CD) be added to allow redefining how automatic directory changes work?
For years I have aliased cd to something else, exactly what has varied. For example, I have often had cd aliased to *pushd. Unfortunately, automatic directory changes easily defeat any alias to cd/cdd/pushd/etc. I would like to ensure that all directory changes occur through a method of my choice. Now I'm in the habit of not using automatic directory changes, but every once in a while it happens anyway. Then of course my directory stack is incomplete and incorrect. I would, of course, prefer to maintain an accurate and complete directory stack.
- Josh