Skip to content

Commit 56d6342

Browse files
committed
fix: Fix bash history being written
1 parent 03b3fa4 commit 56d6342

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "codify-plugin-lib",
3-
"version": "1.0.165",
3+
"version": "1.0.166",
44
"description": "Library plugin library",
55
"main": "dist/index.js",
66
"typings": "dist/index.d.ts",

src/pty/background-pty.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -123,6 +123,7 @@ export class BackgroundPty implements IPty {
123123
let outputBuffer = '';
124124

125125
return new Promise(resolve => {
126+
this.basePty.write('set +o history;\n');
126127
this.basePty.write('unset PS1;\n');
127128
this.basePty.write('unset PS0;\n')
128129
this.basePty.write('echo setup complete\\"\n')

0 commit comments

Comments
 (0)