Fix some fish tunneling issues

This commit is contained in:
crschnick 2024-09-25 14:36:23 +00:00
parent 7458a4498a
commit 3372d77e0d

View file

@ -27,7 +27,7 @@ public interface ShellOpenFunction {
@Override
public CommandBuilder prepareWithInitCommand(@NonNull String command) {
return CommandBuilder.of().add(command);
return CommandBuilder.ofFunction(sc -> b + " " + command);
}
};
}
@ -41,7 +41,7 @@ public interface ShellOpenFunction {
@Override
public CommandBuilder prepareWithInitCommand(@NonNull String command) {
return CommandBuilder.ofString(command);
return CommandBuilder.ofFunction(sc -> b.buildFull(sc) + " " + command);
}
};
}