MCPcopy Create free account
hub / github.com/SteffMet/tabby-vscode-agent / getCleanupScript

Method getCleanupScript

src/tools/shell-strategy.ts:91–93  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

89 }
90
91 getCleanupScript(): string {
92 return `if [ -n "$OLD_PS1" ]; then PS1="$OLD_PS1"; unset OLD_PS1; fi; unset __tpc; rm -f "$__TF" 2>/dev/null; unset __TF;`;
93 }
94
95 getSetupScript(startMarker: string, endMarker: string): string {
96 const cleanup = this.getCleanupScript();

Callers 1

getSetupScriptMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected