From b02de5842fb60615243fcdce899e776a6c0cd131 Mon Sep 17 00:00:00 2001 From: bh Date: Tue, 23 Dec 2025 20:51:34 +0800 Subject: Added zoxide to zsh --- zsh/.zshrc | 18 ++++++++---------- 1 file changed, 8 insertions(+), 10 deletions(-) (limited to 'zsh/.zshrc') diff --git a/zsh/.zshrc b/zsh/.zshrc index 9f046ac..075859f 100644 --- a/zsh/.zshrc +++ b/zsh/.zshrc @@ -131,18 +131,16 @@ setopt CORRECT_ALL # bindkey '^G' vi-cmd-mode # End of lines configured by zsh-newuser-install -# Functions -# fzf-history-widget() { -# local cmd -# cmd=$(fc -l 1 | tac | sed 's/^[[:space:]]*[0-9]\+[[:space:]]*//' | -# fzf --height 40% --reverse --prompt="history> ") || return -# -# LBUFFER+="$cmd" -# } -# zle -N fzf-history-widget -# bindkey '^R' fzf-history-widget +# FZF source <(fzf --zsh) +# Zoxide +eval "$(zoxide init zsh)" + +#export FZF_DEFAULT_OPTS="--color=fg+:#FFC600,bg+:#004747,header:#ff00ff,info:#FFC600,pointer:#8affff,marker:#8affff,prompt:#ffC600,spinner:#FFC600,query:#8affff,hl:#00e6a9,hl+:#00e6a9" + +export FZF_DEFAULT_OPTS="--color=fg+:#FFC600,bg+:#395e5e,header:#ff00ff,info:#FFC600,pointer:#8affff,marker:#8affff,prompt:#ffC600,spinner:#FFC600,query:#8affff,hl:#00e6a9,hl+:#00e6a9" + # The following lines were added by compinstall zstyle :compinstall filename '/home/bh/.zshrc' -- cgit v1.2.3