added niri config with waybar, rip, nvim update, brightness sh
This commit is contained in:
24
zshrc/.zshrc
24
zshrc/.zshrc
@@ -9,6 +9,12 @@ if [ ! -d "$ZINIT_HOME" ]; then
|
||||
git clone https://github.com/zdharma-continuum/zinit.git "$ZINIT_HOME"
|
||||
fi
|
||||
|
||||
ZVM_INIT_MODE=sourcing
|
||||
# Fix zsh-vi-mode conflicts with fzf
|
||||
function zvm_after_init() {
|
||||
source <(fzf --zsh)
|
||||
}
|
||||
|
||||
# Source zsh, alias
|
||||
source "${ZINIT_HOME}/zinit.zsh"
|
||||
source ~/.aliases.zsh
|
||||
@@ -17,9 +23,8 @@ source ~/.export.zsh
|
||||
# https://github.com/jungunn/fzf-git.sh
|
||||
source ~/scripts/fzf-git.sh
|
||||
# you should unse
|
||||
source /usr/share/zsh/plugins/zsh-you-should-use/you-should-use.plugin.zsh
|
||||
# source /usr/share/zsh/plugins/zsh-you-should-use/you-should-use.plugin.zsh
|
||||
# Set up fzf key bindings and fuzzy completion
|
||||
source <(fzf --zsh)
|
||||
## hydroxide
|
||||
#source ~/scripts/hydroxide.sh
|
||||
|
||||
@@ -51,9 +56,9 @@ eval "$(oh-my-posh init zsh --config $HOME/.config/ohmyposh/zen.toml)"
|
||||
[[ -d $PYENV_ROOT/bin ]] && export PATH="$PYENV_ROOT/bin:$PATH"
|
||||
|
||||
# Bindkey
|
||||
bindkey -e
|
||||
bindkey '^p' history-search-backward
|
||||
bindkey '^n' history-search-forward
|
||||
# bindkey -e
|
||||
# bindkey '^p' history-search-backward
|
||||
# bindkey '^n' history-search-forward
|
||||
|
||||
# History
|
||||
HISTSIZE=5000
|
||||
@@ -80,9 +85,9 @@ eval "$(zoxide init --cmd cd zsh)"
|
||||
eval "$(thefuck --alias)"
|
||||
eval "$(navi widget zsh)"
|
||||
# pyenv https://github.com/pyenv/pyenv-virtualenv
|
||||
eval "$(pyenv init --path)"
|
||||
# eval "$(pyenv init --path)"
|
||||
eval "$(pyenv init -)"
|
||||
# eval "$(pyenv virtualenv-init -)"
|
||||
eval "$(pyenv virtualenv-init -)"
|
||||
# starship
|
||||
# eval "$(starship init zsh)"
|
||||
|
||||
@@ -118,3 +123,8 @@ zinit light-mode for \
|
||||
### End of Zinit's installer chunk
|
||||
|
||||
# . "$HOME/.local/bin/env"
|
||||
# In .zshrc, after zinit loads
|
||||
function zvm_after_init() {
|
||||
# Re-bind ctrl+space for autosuggestions if needed
|
||||
bindkey '^@' autosuggest-accept
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user