From 0f6616195a11b7aa246b757042199055c8f77b4b Mon Sep 17 00:00:00 2001 From: crschnick Date: Wed, 14 Jun 2023 04:27:55 +0000 Subject: [PATCH] Recognize csh, not yet supported though --- .../io/xpipe/app/resources/lang/translations_en.properties | 1 + core/src/main/java/io/xpipe/core/process/ShellDialects.java | 2 ++ 2 files changed, 3 insertions(+) diff --git a/app/src/main/resources/io/xpipe/app/resources/lang/translations_en.properties b/app/src/main/resources/io/xpipe/app/resources/lang/translations_en.properties index d3df9a2b..cbda6e4c 100644 --- a/app/src/main/resources/io/xpipe/app/resources/lang/translations_en.properties +++ b/app/src/main/resources/io/xpipe/app/resources/lang/translations_en.properties @@ -22,6 +22,7 @@ enterLockPassword=Enter lock password repeatPassword=Repeat password askpassAlertTitle=Askpass nullPointer=Null Pointer +unsupportedOperation=Unsupported operation: $MSG$ moveAlertTitle=Confirm move moveAlertHeader=Do you want to move the ($COUNT$) selected elements into $TARGET$? deleteAlertTitle=Confirm deletion diff --git a/core/src/main/java/io/xpipe/core/process/ShellDialects.java b/core/src/main/java/io/xpipe/core/process/ShellDialects.java index 84185b07..6698f6ed 100644 --- a/core/src/main/java/io/xpipe/core/process/ShellDialects.java +++ b/core/src/main/java/io/xpipe/core/process/ShellDialects.java @@ -16,6 +16,7 @@ public class ShellDialects { public static ShellDialect DASH; public static ShellDialect BASH; public static ShellDialect ZSH; + public static ShellDialect CSH; public static class Loader implements ModuleLayerLoader { @@ -31,6 +32,7 @@ public class ShellDialects { DASH = byName("dash"); BASH = byName("bash"); ZSH = byName("zsh"); + CSH = byName("csh"); SH = byName("sh"); }