mirror of
https://github.com/xpipe-io/xpipe.git
synced 2026-10-12 10:01:21 +00:00
Fix dialect command check
This commit is contained in:
1 parent
77df569c46
commit
fe2a1ffa5e
2 files changed
+5
-1
No files matched your search
@@ -152,7 +152,7 @@ public final class OpenFileSystemModel {
|
||||
var directory = currentPath.get();
|
||||
var name = adjustedPath + " - " + entry.get().getName();
|
||||
ThreadHelper.runFailableAsync(() -> {
|
||||
if (ShellDialects.ALL.stream().anyMatch(dialect -> adjustedPath.startsWith(dialect.getOpenCommand()))) {
|
||||
if (ShellDialects.getStartableDialects().stream().anyMatch(dialect -> adjustedPath.startsWith(dialect.getOpenCommand()))) {
|
||||
TerminalHelper.open(
|
||||
entry.getEntry(),
|
||||
name,
|
||||
|
||||
Reference in new issue
Block a user