Skip to content

Commit

Permalink
manの補完でセクション番号を扱う
Browse files Browse the repository at this point in the history
  • Loading branch information
kyanagi committed Jan 31, 2012
1 parent 78eff77 commit 0d7cd39
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions zshrc
Original file line number Diff line number Diff line change
Expand Up @@ -234,6 +234,12 @@ zstyle ':completion:*:descriptions' format '%B%d%b' # 補完リストの上に
zstyle ':completion:*:messages' format '%d' # 補完時のメッセージ
zstyle ':completion:*:warnings' format 'No matches for: %d' # 補完がマッチしなかったとき

## man の補完をセクションごとに区分する
zstyle ':completion:*:manuals' separate-sections true

## セクション番号を挿入する(セクション1以外)
zstyle ':completion:*:manuals.(^1*)' insert-sections true

## 辞書順ではなく数字順に並べる
setopt numeric_glob_sort

Expand Down

0 comments on commit 0d7cd39

Please sign in to comment.