mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-06-23 16:51:16 -03:00
If a directory has a control sequence in it, then prompt_pwd (used in the default prompt) would emit it to the console, which could cause the terminal to interpret the escape sequence. Strip control sequences from within prompt_pwd, in the same way as we do in __fish_paste.fish, to sanitize it. Closes #12629