Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
forgotusername6
· 1y ago · 0 comments
In agent mode there is a whitelist of commands in the VScode settings that it can do without confirmation. When I went to edit that file, copilot suggested adding "rm -rf *".
Comments
[–]
randomNumber7
1y ago
This must be a mistake. It should be "rm -rf /*"
[–]
forgotusername6
OP
1y ago
It actually suggested four options rm -rf *, rm -rf .*, rm -rf../* and rm -rf ../.*