3 ms·
> suggest patterns in the same codebase that you're working Sometimes, with variable results. I think I've only observed it guess patterns from the current dir
by bil7 4y ago
> suggest patterns in the same codebase that you're working
Sometimes, with variable results. I think I've only observed it guess patterns from the current directory
> Does copilot work for shell scripts?
Yes, it gave me this earlier today while editing my .zshrc:
# kill a process on a given port
killport() {
lsof -i :$1 | awk 'NR!=1 {print $2}' | xargs kill
}
- aviraldg 4y agoCan't wait for someone to integrate this into a shell. Does anyone know if such a project exists?
- Beltalowda 4y ago"Copilot, how do I fork in a shell?" :() { :|: } :& Thanks copil[user disconnected].
- nomel 4y agoIntegrating into a shell, for immediate execution, seems very very dangerous. You still need to carefully test/scrutinize everything that comes from copilot.
- davidbarker 4y agoProbably not exactly what you're looking for, but Warp (a new terminal client) has "AI Code Search" built in that's powered by GPT-3. Quite useful for someone like me who tends to avoid the terminal when I can. https://www.warp.dev https://www.warp.dev https://docs.warp.dev/features/ai-command-search https://docs.warp.dev/features/ai-command-search
- darubberduckie 4y agoThere's this cool blog on them testing it out against popular git commands: https://www.warp.dev/blog/replace-git-cheat-sheet-ai-command-search https://www.warp.dev/blog/replace-git-cheat-sheet-ai-command...
- denimnerd42 4y agothem as in that’s you :)
- deleted 4y ago[deleted]
- jwilk 4y agolsof supports machine-readable mode: lsof -i ":$1" -Fp | tr -d p