Skip to content

Commit

Permalink
fix: preview man
Browse files Browse the repository at this point in the history
  • Loading branch information
seagle0128 committed Jul 31, 2024
1 parent 9d2fe6a commit e8bc6cc
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions .zshrc
Original file line number Diff line number Diff line change
Expand Up @@ -166,8 +166,7 @@ zstyle ':fzf-tab:complete:git-checkout:*' fzf-preview \
esac'

# Privew help
zstyle ':fzf-tab:complete:(\\|)run-help:*' fzf-preview 'run-help $word'
zstyle ':fzf-tab:complete:(\\|*/|)man:*' fzf-preview 'man $word'
zstyle ':fzf-tab:complete:(\\|*/|)man:*' fzf-preview 'man $word | bat -plman --color=always'
zstyle ':fzf-tab:complete:tldr:argument-1' fzf-preview 'tldr --color always $word'

# Preview brew
Expand Down

0 comments on commit e8bc6cc

Please sign in to comment.