fzf: added preview for zsh completion using eza when completing z
This commit is contained in:
parent
e2861a968a
commit
a4d1df8813
|
@ -89,10 +89,10 @@ in
|
||||||
zstyle ':completion:*' menu no
|
zstyle ':completion:*' menu no
|
||||||
# preview directory's content with eza when completing cd
|
# preview directory's content with eza when completing cd
|
||||||
zstyle ':fzf-tab:complete:cd:*' fzf-preview 'eza -1 --color=always $realpath'
|
zstyle ':fzf-tab:complete:cd:*' fzf-preview 'eza -1 --color=always $realpath'
|
||||||
|
# preview directory's content with eza when completing z
|
||||||
|
zstyle ':fzf-tab:complete:z:*' fzf-preview 'eza -1 --color=always $realpath'
|
||||||
# switch group using `<` and `>`
|
# switch group using `<` and `>`
|
||||||
zstyle ':fzf-tab:*' switch-group '<' '>'
|
zstyle ':fzf-tab:*' switch-group '<' '>'
|
||||||
# Preview fzf
|
|
||||||
zstyle ':fzf-tab:*' fzf-preview 'eza -1 --color=always $realpath'
|
|
||||||
''
|
''
|
||||||
(optionalString config.profile.podman.enable /*bash*/ ''
|
(optionalString config.profile.podman.enable /*bash*/ ''
|
||||||
zsh-defer source <(podman completion zsh)
|
zsh-defer source <(podman completion zsh)
|
||||||
|
|
Loading…
Reference in a new issue