.commit_message.tmpl

This commit is contained in:
Daniel Bauer
2025-08-03 13:45:41 +02:00
parent 0a4959be81
commit fd58c4df3f
2 changed files with 10 additions and 4 deletions

View File

@@ -22,3 +22,6 @@ ohmyzsh/ohmyzsh path:plugins/command-not-found
zsh-users/zsh-syntax-highlighting
desyncr/auto-ls
# nvm installation with lazy loading
# (faster shell startup than using nvm)
ohmyzsh/ohmyzsh path:plugins/nvm

View File

@@ -33,7 +33,14 @@ if [ -f $LOCAL_ALIAS_FILE ]; then
source $LOCAL_ALIAS_FILE
fi
autoload -U +X compinit && compinit # fix compdef not found
# configure oh-my-zsh/nvm for lazy loading nvm
zstyle ':omz:plugins:nvm' lazy yes
zstyle ':omz:plugins:nvm' autoload yes
zstyle ':omz:plugins:nvm' silent-autoload yes
source $HOME/.antidote/antidote.zsh
antidote load
@@ -46,7 +53,3 @@ bindkey -v
[ -f ~/.fzf.zsh ] && source ~/.fzf.zsh
bindkey '^f' fzf-file-widget
export NVM_DIR="$HOME/.nvm"
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm
[ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion" # This loads nvm bash_completion
[ -s "$HOME/.cargo/env" ] && \. "$HOME/.cargo/env" # Load cargo env