0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

GitHub Copilotのエージェントにのみbashを使わせる方法

0
Posted at

デフォルトシェルをfishにしているとVSCode上のGitHub Copilotのエージェントが起動するターミナルもfishになる。
しかしエージェントがbashのコマンドを実行しようとしてコケることが多々あって困ったので対処方法を備忘録として残しておく

方法

  1. Ctrl+Shift+P → Preferences: Open User Settings (JSON)でsettings.jsonを開く
  2. 以下を追記する
"chat.tools.terminal.terminalProfile.linux": {
  "path": "/bin/bash",
  "args": []
}

参考文献

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?