エントリーの編集
エントリーの編集は全ユーザーに共通の機能です。
必ずガイドラインを一読の上ご利用ください。
記事へのコメント2件
- 注目コメント
- 新着コメント
注目コメント算出アルゴリズムの一部にLINEヤフー株式会社の「建設的コメント順位付けモデルAPI」を使用しています
- バナー広告なし
- ミュート機能あり
- ダークモード搭載
関連記事
zsh の precmd について - 理系学生日記
自分で precmd 定義するよりか、フック利用した方が良いと思う。 そもそも zsh には、precmd_functions ... 自分で precmd 定義するよりか、フック利用した方が良いと思う。 そもそも zsh には、precmd_functions っていう配列に関数名突っ込んでやったら、プロンプト出す前にそれらを呼び出してくれる仕組みが存在してる。man zshmisc(1) の Hook Functions っていうところ読むと良いです。 For the functions below, it is possible to define an array that has the same name as the function with `_functions' appended. Any element in such an array is taken as the name of a function to execute; it is executed in the same context
2014/03/26 リンク