すべてのヘルプコマンドのカラー化オプション

すべてのヘルプコマンドのカラー化オプション

私のコマンドの出力はsed次のとおりです。

sed --help
Usage: sed [OPTION]... {script-only-if-no-other-script} [input-file]...

  -n, --quiet, --silent
                 suppress automatic printing of pattern space
      --debug
                 annotate program execution
  -e script, --expression=script
                 add the script to the commands to be executed
  -f script-file, --file=script-file
                 add the contents of script-file to the commands to be executed

私の端末では、st黒の背景に白がすべて適用され、仕事に高いコントラストを与えます。

-f script-file, --file=script-file最近心が変わりました。 //すべての-e script, --expression=script色を白 - 黄色よりも目立つ色に変更したいと思います-n, --quiet, --silent。例えば、ホウト?

私はzshとstを使用しています。

ベストアンサー1

~によるとこのArchWikiページ、ソースコードをインポートしてC ++ヘッダーとdefファイルを変更し、config.hバイナリconfig.def.hを再コンパイルする必要があります。

st自分はよく分からないけど、https://st.suckless.org/patches/STのカスタマイズに関するハッキングとガイドに関する情報を含むいくつかのコミュニティパッチ(Draculaなどを参照)があります。

oh-my-zshを試してみてください。テーマ、エイリアスなどのzshのいくつかのヘルパーを提供します。おそらくこれは役に立ち、ソースコードをコンパイルする必要はありません。https://github.com/robbyrussell/oh-my-zsh

おすすめ記事