mirror of
https://github.com/xpipe-io/xpipe.git
synced 2024-11-22 07:30:24 +00:00
Fix some fish tunneling issues
This commit is contained in:
parent
7458a4498a
commit
3372d77e0d
1 changed files with 2 additions and 2 deletions
|
@ -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);
|
||||
}
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue