4
6

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

Prezto のインストールのアレが分からん

Last updated at Posted at 2016-11-14

アレ

setopt EXTENDED_GLOB
for rcfile in "${ZDOTDIR:-$HOME}"/.zprezto/runcoms/^README.md(.N); do
  ln -s "$rcfile" "${ZDOTDIR:-$HOME}/.${rcfile:t}"
done

${ZDOTDIR:-$HOME}

^README.md

setopt EXTENDED_GLOB で有効っぽい。

(.N)

.N それぞれがフラグ。

同じ記号でも文脈で用途が違ったりでググラビリティが低い、そもそも記号のググラビリティが低い、等で辛みがあるので bash/zsh 記号まとめみたいなのが欲しい。Ruby のやつ便利だと思う。

4
6
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
4
6

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?