diff --git a/.zsh/functions.zsh b/.zsh/functions.zsh index 9a3989e..865432b 100644 --- a/.zsh/functions.zsh +++ b/.zsh/functions.zsh @@ -48,9 +48,14 @@ delete-branches() { fzf-open() { local output + local old_opts="$FZF_DEFAULT_OPTS" + FZF_DEFAULT_OPTS+=" --preview 'exa -al --group --group-directories-first --colour-scale --list-dirs --icons --git --time-style=full-iso {}' --bind '?:preview:bat --style=numbers --color=always --line-range :200 {}'" output=$(fzf