1
0
Fork 0

maybe the end of 'r' completion bug

This commit is contained in:
Maurice Audin 2022-11-09 16:38:52 +01:00
parent 92df55980e
commit c3a6761687
2 changed files with 4 additions and 4 deletions

View file

@ -45,3 +45,7 @@ export WATCH=all
export WATCHFMT="%n has %a %l from %M"
export ROBESPIERRE=/home/hybris/dev/robespierre/infra
export PATH=$ROBESPIERRE/bin:$HOME/.scripts:$PATH
# Fix for compdef, taken from https://github.com/seletskiy/zsh-zgen-compinit-tweak
alias compinit='compinit-zgen'
function compinit-zgen() { grep -q ".zgen" <<< "${@}" && \compinit "${@}" }

4
zshrc
View file

@ -1,10 +1,6 @@
# Load zgen
source "${HOME}/.zgen/zgen.zsh"
# Required for compdef calls to work
autoload -Uz compinit && \
compinit -C
# Plugins and configuration generator
if ! zgen saved; then
# Configuration