1
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?

[Claude Code] !<command> で実行した後に出てくるメッセージを止める

1
Posted at

Claude Codeでは、!<任意のコマンド>というように、!を入れることでシェルコマンドを直接実行できます。

デフォルトでは、このコマンドの実行後にClaude Codeによる応答があります。
しかし、コンテキストを節約したいときや、コマンドを順番に実行した後で応答してほしい時には必要ないと感じます。

そこで、settings.jsonに以下の設定を加えると良いです。

{
  "respondToBashCommands": false
}

参考

1
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
1
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?