pushed
zhengqunkoo/xmonad-contrib • 9:01 PM - Sep 14, 2020
This change introduces ComplCaseSensitivity-aware variants of the existing prompt completion functions, including changeDir', directoryPrompt', and getShellCompl', while keeping the original exported functions case-sensitive by default for compatibility. The shell prompt code now centralizes compgen-based file and directory completion in new reusable helpers, and XMonad.Prompt.Directory reuses that logic instead of duplicating it. In practice, callers can now enable case-insensitive path completion where Bash/Readline supports it, making prompts more forgiving without changing current behavior for existing configs.
