Skip to content

Commit 53294d2

Browse files
committed
Add a few more pwsh equivalents
1 parent 9b6f10b commit 53294d2

File tree

1 file changed

+12
-6
lines changed

1 file changed

+12
-6
lines changed

src/vs/workbench/contrib/terminalContrib/chatAgentTools/common/terminalChatAgentToolsConfiguration.ts

Lines changed: 12 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -92,26 +92,32 @@ export const terminalChatAgentToolsConfiguration: IStringDictionary<IConfigurati
9292
'Write-Host': true,
9393
'Write-Output': true,
9494
ls: true,
95+
find: true,
9596
'Get-ChildItem': true,
9697
pwd: true,
9798
'Get-Location': true,
9899
cat: true,
99-
'Get-Content': true,
100100
head: true,
101101
tail: true,
102+
'Get-Content': true,
102103
grep: true,
103-
find: true,
104+
wc: true,
105+
'Select-Object': true,
106+
'Select-String': true,
107+
'Where-Obejct': true,
108+
'Measure-Object': true,
109+
sort: true,
110+
uniq: true,
111+
'Sort-Object': true,
104112
which: true,
105-
whoami: true,
113+
'Get-Command': true,
106114
date: true,
107115
'Get-Date': true,
108116
hostname: true,
109117
'Get-Host': true,
110118
ps: true,
111119
'Get-Process': true,
112-
wc: true,
113-
sort: true,
114-
uniq: true,
120+
whoami: true,
115121

116122
// There are countless dangerous commands available on the command line, the defaults here
117123
// include common ones that the user is likely to want to explicitly approve first. This is

0 commit comments

Comments
 (0)