zsh shortcut and fzf

This commit is contained in:
Andrei Stoica 2025-03-24 14:54:55 -04:00
parent 434d371c57
commit 550866878e
1 changed files with 4 additions and 1 deletions

5
.zshrc
View File

@ -62,7 +62,6 @@ ZSH_THEME="blokkzh"
# Add wisely, as too many plugins slow down shell startup. # Add wisely, as too many plugins slow down shell startup.
plugins=( plugins=(
git git
zsh-fzf-history-search
) )
source $ZSH/oh-my-zsh.sh source $ZSH/oh-my-zsh.sh
@ -105,6 +104,7 @@ autoload -z edit-command-line
zle -N edit-command-line zle -N edit-command-line
bindkey "^v" edit-command-line bindkey "^v" edit-command-line
bindkey -s "^w" "work^M"
# adding cargo to path # adding cargo to path
export PATH=$HOME/.cargo/bin:$PATH export PATH=$HOME/.cargo/bin:$PATH
@ -121,3 +121,6 @@ nvm() {
[ -s "$NVM_DIR/nvm.sh" ] && . "$NVM_DIR/nvm.sh" # This loads nvm [ -s "$NVM_DIR/nvm.sh" ] && . "$NVM_DIR/nvm.sh" # This loads nvm
nvm "$@" nvm "$@"
} }
# new fzf command integration
source <(fzf --zsh)