mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-05-20 02:11:16 -03:00
* fix Subversion prompt - after switching to "string match", some SVN status symbols need proper escaping - the __fish_svn_prompt_flag_names list was missing "versioned_obstructed" and was therefore not in line with the symbols from __fish_svn_prompt_chars - when checking for individual SVN status symbols, use "string match -e" to handle the case where multiple different symbols appear in one status column - use "sort -u" before merging all symbols from a column into one line Fixes #6715 * use regex for SVN status matching Using regex matching will prevent different match behaviour depending on qmark-noglob feature. Also, counting the resulting matches is unnecessary. * use list instead of string for SVN status Make $column_status a list be not removing newlines from SVN status output. This makes checking for the individual status types within a column easier because it doesn't require regex matching. * added quotes for string length test (-n)