Skip to content

Conversation

@remo5000
Copy link

WHAT

If bash/zsh isn't being run interactively, exit early so that we don't end up aliasing cd or running compdef. This should work for both bash and zsh

WHY

I've run into some issues with claude code complaining about

 Error: (eval):1: command not found: __enhancd::cd

This isn't a full solution but I can't see why tools that call zsh non-interactively would need enhancd anyway

@github-actions github-actions bot added the area/bash Catch all for changes in bash files label Sep 25, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/bash Catch all for changes in bash files

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant