When Cursor runs cat
on a file (like a .env
), the console output always has a % symbol at the end. This is probably something to do with zsh/macOS since it’s not present on Windows or Ubuntu terminals.
When Cursor sees the trailing % symbol, it immediately thinks that that is the cause of any problems and bails on actually fixing the problem. Instead, it will just try to re-create the file with the same contents (without the %). Very inconvenient but not sure what the solution is.
Example:
# AWS Configuration
AWS_CONFIG_FILE=config/aws-config.json%