タグ

関連タグで絞り込む (2)

タグの絞り込みを解除

*tipsとshellに関するjimo1001のブックマーク (2)

  • zshの起動を高速化する方法 - なっく日報

    ネタがないので、昔こんなことをやってzshの起動を高速化したよというのを共有したいと思います。 計測 〜が遅いという場合、プロファイリングするのが定石ですね。 http://blog.uu59.org/2013-06-01-zsh-optimize.html という素晴らしい記事を参考に、 ボトルネックを割り出しました。 ↑の記事に全て書いてますが、一応プロファイリングの方法をコチラにも書いておくと、 .zshenvの先頭行に↓を足す zmodload zsh/zprof .zshrcの最後の行に↓を足す if type zprof > /dev/null 2>&1; then zprof | less fi という感じ。 新しくzshを起動すると、lessで↓のようなプロファイリング結果が開きます。 num calls time self name -------------------

    zshの起動を高速化する方法 - なっく日報
  • The Ultimate Bash Array Tutorial with 15 Examples

    An array is a variable containing multiple values may be of same type or of different type.  There is no maximum limit to the size of an array, nor any requirement that member variables be indexed or assigned contiguously. Array index starts with zero. In this article, let us review 15 various array operations in bash. This article is part of the on-going Bash Tutorial series. For those who are ne

  • 1