We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3d50090 commit d84d983Copy full SHA for d84d983
1 file changed
menu/paste-to-clip.js
@@ -3,11 +3,11 @@ export const pasteToClip = async ({CloudCmd, DOM}) => {
3
const encoded = btoa(encodeURIComponent(`${value}\n`));
4
5
const command = [
6
- 'export $CLIP=',
7
'node',
8
'-e',
9
- `'process.stdout.write(decodeURIComponent(atob("${encoded}")));'`,
+ `'process.stdout.write(decodeURIComponent(atob("${encoded}")))'`,
10
'>',
+ '~/clip',
11
].join(' ');
12
13
const {TerminalRun, config} = CloudCmd;
0 commit comments