[Bug] /export command ignores file extension and forces .txt format

Resolved 💬 3 comments Opened Apr 3, 2026 by csibicode Closed Apr 7, 2026

Bug Description
Bug: /export ignores file extension, saves as .txt instead of specified format

Steps to reproduce:

  1. Start a Claude Code session
  2. Run: /export filename.md
  3. Check the saved file

Expected: file saved as filename.md
Actual: file saved as filename.txt (extension ignored)

OS: Windows
Terminal: Cmder

Environment Info

  • Platform: win32
  • Terminal: conemu
  • Version: 2.1.91
  • Feedback ID: 3b0cda38-cc7a-4d01-8487-e3947b594f81

Errors

[]

View original on GitHub ↗

This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗