diff --git a/home/.bashrc b/home/.bashrc index f9556ea..1ae7892 100644 --- a/home/.bashrc +++ b/home/.bashrc @@ -1,5 +1,5 @@ -#!/bin/bash + # ~/.bashrc (symlink to ~/code/configs/home/.bashrc) # Load base configurations diff --git a/home/.zshrc b/home/.zshrc index c9fb855..96d8d74 100644 --- a/home/.zshrc +++ b/home/.zshrc @@ -40,7 +40,9 @@ export ZSH="$HOME/.oh-my-zsh" ZSH_THEME="powerlevel9k/powerlevel9k" source $ZSH/custom/themes/powerlevel9k/powerlevel9k.zsh-theme - +# Set up fzf key bindings and fuzzy completion +eval "$(fzf --zsh)" +FZF_DEFAULT_COMMAND='fd --type f | fzf --print0 | xargs -0 -o vim' # Load base configurations source ~/code/configs/home/bash-config/rc.base diff --git a/home/bash-config/bashrc.local b/home/bash-config/bashrc.local index 601f117..19b7be4 100644 --- a/home/bash-config/bashrc.local +++ b/home/bash-config/bashrc.local @@ -31,6 +31,11 @@ HISTFILESIZE=2000 #activate python source /home/ys/Data/projects/code/Python/Envs/General/bin/activate + +# Set up fzf key bindings and fuzzy completion +eval "$(fzf --bash)" +FZF_DEFAULT_COMMAND='fd --type f | fzf --print0 | xargs -0 -o vim' + # Added by LM Studio CLI tool (lms) export PATH="$PATH:$HOME/.lmstudio/bin" diff --git a/home/bash-config/rc.base b/home/bash-config/rc.base index f0404f2..318c756 100644 --- a/home/bash-config/rc.base +++ b/home/bash-config/rc.base @@ -3,9 +3,6 @@ -# Set up fzf key bindings and fuzzy completion -eval "$(fzf --bash)" -FZF_DEFAULT_COMMAND='fd --type f| fzf --print0 | xargs -0 -o vim' source "$HOME/code/scripts/system/nnn/nnnconfig.sh" export PATH="$PATH:$HOME/code/scripts/system/nnn"