[ Zstyle Note ] Removed file preview for Note command

Too inconsistent, not interested in investing tons of time into the file
preview at the moment -- maybe in the future? 🤷
This commit is contained in:
Price Hiller 2022-01-21 05:59:22 -06:00
parent ad7f2ff28d
commit 729735e640

View File

@ -34,9 +34,6 @@ zstyle ':fzf-tab:complete:(-command-|-parameter-|-brace-parameter-|export|unset|
zstyle ':fzf-tab:complete:(mv|cat|bat|cp|rm|chmod|du|viu|nvim|ls|cd|exa):*' fzf-preview \ zstyle ':fzf-tab:complete:(mv|cat|bat|cp|rm|chmod|du|viu|nvim|ls|cd|exa):*' fzf-preview \
'[[ -f ${realpath} ]] && bat -P --color=always --theme="Solarized (dark)" --style=header,grid,numbers,snip ${realpath} || exa -al --no-filesize --no-time --no-user --no-permissions ${realpath}' '[[ -f ${realpath} ]] && bat -P --color=always --theme="Solarized (dark)" --style=header,grid,numbers,snip ${realpath} || exa -al --no-filesize --no-time --no-user --no-permissions ${realpath}'
zstyle ':fzf-tab:complete:Note:*' fzf-preview \
'bat -P ~/.notes/${realpath}.norg'
### Generic Oh My Zsh Styles ### ### Generic Oh My Zsh Styles ###
# Highlight the current autocomplete option # Highlight the current autocomplete option