Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion src/Views/Preferences.axaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -341,7 +341,11 @@ private async void SelectShellOrTerminal(object _, RoutedEventArgs e)
{
options = new FilePickerOpenOptions()
{
FileTypeFilter = [new FilePickerFileType(shell.Name) { Patterns = [shell.Exec] }],
FileTypeFilter = [new FilePickerFileType(shell.Name)
{
Patterns = shell.Exec.Split('|',
StringSplitOptions.RemoveEmptyEntries | StringSplitOptions.TrimEntries)
}],
Comment on lines +344 to +348

@Mingun Mingun Aug 19, 2026

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It would beter to change shell.Exec type from String (?) to String[] if that possible.

AllowMultiple = false,
};
}
Expand Down