mirror of
https://github.com/tedkulp/dotfiles
synced 2026-03-05 13:40:18 -05:00
Merge branch 'master' of github.com:tedkulp/dotfiles
This commit is contained in:
15
.zshrc
15
.zshrc
@@ -3,6 +3,10 @@ if [[ -r "${XDG_CACHE_HOME:-$HOME/.cache}/p10k-instant-prompt-${(%):-%n}.zsh" ]]
|
||||
source "${XDG_CACHE_HOME:-$HOME/.cache}/p10k-instant-prompt-${(%):-%n}.zsh"
|
||||
fi
|
||||
|
||||
if [ -n "${ZSH_DEBUGRC+1}" ]; then
|
||||
zmodload zsh/zprof
|
||||
fi
|
||||
|
||||
# 2. Load Zinit
|
||||
source "${HOME}/.local/share/zinit/zinit.git/zinit.zsh"
|
||||
|
||||
@@ -34,8 +38,10 @@ zinit ice lucid wait'0' as'program' id-as'mmv' from'gh-r' \
|
||||
mv'mmv* -> mmv' pick'mmv/mmv'
|
||||
zinit light 'itchyny/mmv'
|
||||
|
||||
export ATUIN_NOBIND="true"
|
||||
zinit ice wait lucid blockf
|
||||
zinit light atuinsh/atuin
|
||||
bindkey '^r' atuin-search
|
||||
|
||||
zinit wait lucid for MichaelAquilina/zsh-autoswitch-virtualenv
|
||||
|
||||
@@ -45,6 +51,11 @@ zinit light ajeetdsouza/zoxide
|
||||
# fzf-tab — defer after other interactive tools
|
||||
zinit ice wait lucid blockf
|
||||
zinit light Aloxaf/fzf-tab
|
||||
zstyle ':fzf-tab:*' fzf-command ftb-tmux-popup
|
||||
zstyle ':fzf-tab:*' popup-min-size 200 8
|
||||
|
||||
zinit ice wait lucid blockf
|
||||
zinit light Freed-Wu/fzf-tab-source
|
||||
|
||||
# # direnv — from GitHub releases
|
||||
zinit from"gh-r" as"program" mv"direnv* -> direnv" \
|
||||
@@ -76,3 +87,7 @@ function timezsh() {
|
||||
for i in {1..5}; do /usr/bin/time -p zsh -i -c exit; done
|
||||
}
|
||||
### End of Zinit's installer chunk
|
||||
|
||||
if [ -n "${ZSH_DEBUGRC+1}" ]; then
|
||||
zprof
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user