mirror of
https://github.com/Xevion/dotfiles.git
synced 2026-01-31 06:24:13 -06:00
config: add fzf preview options to zoxide interactive mode
This commit is contained in:
@@ -4,6 +4,12 @@ function zi --description "zoxide interactive smart cd"
|
|||||||
if not set -q __zoxide_initialized
|
if not set -q __zoxide_initialized
|
||||||
set -g __zoxide_initialized 1
|
set -g __zoxide_initialized 1
|
||||||
|
|
||||||
|
# Configure fzf options for zoxide interactive mode
|
||||||
|
set -gx _ZO_FZF_OPTS '
|
||||||
|
--preview="lsd -1 --color=always --icon=always {2..}"
|
||||||
|
--preview-window=down,30%
|
||||||
|
'
|
||||||
|
|
||||||
# Run zoxide init
|
# Run zoxide init
|
||||||
if command -q zoxide
|
if command -q zoxide
|
||||||
zoxide init fish | source
|
zoxide init fish | source
|
||||||
|
|||||||
Reference in New Issue
Block a user