zsh git complete reports _git : 4113 : 연관 배열에 대한 잘못된 키 / 값 쌍 세트


0

SLES 11 SP2에 zsh 및 git을 설치했습니다. git 명령에 대해 자동 완성을 트리거하려고하면 다음 오류 메시지가 나타납니다.

zsh 자식 완료 보고서 _git : 4113 :

이것은 내 .zshrc입니다

# Lines configured by zsh-newuser-install
HISTFILE=~/.histfile
HISTSIZE=1000
SAVEHIST=1000
setopt appendhistory autocd extendedglob nomatch notify
unsetopt beep
bindkey -v
# End of lines configured by zsh-newuser-install
# The following lines were added by compinstall
zstyle :compinstall filename '/home/d045803/.zshrc'

autoload -Uz compinit
compinit

autoload -U colors && colors
PROMPT="%{$fg[red]%}%n%{$reset_color%}@%{$fg[blue]%}%m %{$fg_no_bold[yellow]%}%1~ %{$reset_color%}%# "
RPROMPT="[%{$fg_no_bold[yellow]%}%?%{$reset_color%}]"
source ~/.zshgitstatus

source ~/.aliases
source ~/.environment
source /etc/profile.d/proxy.sh

Archlinux 상자에 거의 동일한 설정이 있습니다. 자식 완성은 거기에서 잘 작동합니다. 여기서 잘못 될 수있는 아이디어가 있습니까?

남자 이름

답변:


0

나는 이것을 스스로 해결할 수 있었다. ;-) SLES 저장소의 zsh 버전이 너무 오래되어 새로운 저장소 (추가 저장소에서 가져옴)와 함께 사용하기에는 너무 오래되었습니다. 소스에서 zsh를 빌드하고 자식 완료를 시도했습니다. 이제 아무런 문제없이 작동합니다.

당사 사이트를 사용함과 동시에 당사의 쿠키 정책개인정보 보호정책을 읽고 이해하였음을 인정하는 것으로 간주합니다.
Licensed under cc by-sa 3.0 with attribution required.