mirror of
https://github.com/Xevion/dotfiles.git
synced 2026-01-31 08:24:11 -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
|
||||
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
|
||||
if command -q zoxide
|
||||
zoxide init fish | source
|
||||
|
||||
Reference in New Issue
Block a user