make zsh fast again (rip vim mode 🥲)

This commit is contained in:
Adam Jeniski 2023-06-11 12:16:49 -04:00
parent 3de08bc7ab
commit a4f695d7ab

20
.zshrc
View File

@ -2,13 +2,13 @@
# export PATH=$HOME/bin:/usr/local/bin:$PATH # export PATH=$HOME/bin:/usr/local/bin:$PATH
# Path to your oh-my-zsh installation. # Path to your oh-my-zsh installation.
export ZSH="$HOME/.oh-my-zsh" # export ZSH="$HOME/.oh-my-zsh"
#ZSH_THEME="refined" #ZSH_THEME="refined"
plugins=(git) # plugins=(git)
source $ZSH/oh-my-zsh.sh # source $ZSH/oh-my-zsh.sh
export EDITOR=nvim export EDITOR=nvim
export VISUAL="$EDITOR" export VISUAL="$EDITOR"
@ -84,16 +84,16 @@ export PATH="$HOME/.local/share/bob/nvim-bin:$PATH"
export HIGHLIGHT_STYLE=manxome export HIGHLIGHT_STYLE=manxome
source $(brew --prefix)/opt/zsh-vi-mode/share/zsh-vi-mode/zsh-vi-mode.plugin.zsh # source $(brew --prefix)/opt/zsh-vi-mode/share/zsh-vi-mode/zsh-vi-mode.plugin.zsh
export STARSHIP_CONFIG=~/.config/starship/starship.toml export STARSHIP_CONFIG=~/.config/starship/starship.toml
_bb_tasks() { # _bb_tasks() {
local matches=(`bb tasks |tail -n +3 |cut -f1 -d ' '`) # local matches=(`bb tasks |tail -n +3 |cut -f1 -d ' '`)
compadd -a matches # compadd -a matches
_files # autocomplete filenames as well # _files # autocomplete filenames as well
} # }
compdef _bb_tasks bb # compdef _bb_tasks bb
eval "$(zoxide init zsh)" eval "$(zoxide init zsh)"