자동 점프 자동 완성 기능이 작동하지 않습니다

자동 점프 자동 완성 기능이 작동하지 않습니다

내 구성에서는 자동 점프자동완성기능이 작동하지 않는 것 같습니다. 분명히 말하면 자동 점프는 제대로 작동하지만 자동 완성 기능만 작동하지 않습니다.

키를 누르면 <TAB>자동 완성 메뉴가 표시되지 않지만 입력한 디렉터리 이름의 일부가 따옴표로 묶여 있습니다.

일어나는 일은 다음과 같습니다.liba를 입력한 후 <TAB>키를 여러 번 눌렀습니다.. 나는 자동 점프가 /tmp/liba1과 를 순환할 것으로 예상했을 것입니다 /tmp/liba2. 또한 키를 /tmp/liba2누른 후에만 나타나는 것도 아닙니다 <ENTER>.

자동 점프 자동 완성 시도

나는 다음을 사용하고 있습니다 :

  • Konsole 2.12.4 (KDE 4.12.4) (그러나 xterm에서도 동일한 문제가 있습니다)
  • 액체 프롬프트
  • 배쉬 4.3.11
  • 자동점프 21.6.9

.bashrc내 파일 의 하단은 다음과 같습니다 .

# Alias definitions.
# You may want to put all your additions into a separate file like
# ~/.bash_aliases, instead of adding them here directly.
# See /usr/share/doc/bash-doc/examples in the bash-doc package.

if [ -f ~/.bash_aliases ]; then
    . ~/.bash_aliases
fi

# enable programmable completion features (you don't need to enable
# this, if it's already enabled in /etc/bash.bashrc and /etc/profile
# sources /etc/bash.bashrc).
if ! shopt -oq posix; then
  if [ -f /usr/share/bash-completion/bash_completion ]; then
    . /usr/share/bash-completion/bash_completion
  elif [ -f /etc/bash_completion ]; then
    . /etc/bash_completion
  fi
fi

# Liquidprompt
source ~/.liquidprompt/liquidprompt
# Autojump
. /usr/share/autojump/autojump.bash

답변1

분명히 이것은 자동 점프 버그입니다.잘못된 bash 탭 완료 #228. 최신 버전의 자동 점프를 수동으로 설치하면 문제가 해결됩니다.

git clone git://github.com/joelthelion/autojump.git
cd autojump
./install.py
vim ~/.bashrc
# Add line [[ -s /home/fabien/.autojump/etc/profile.d/autojump.sh ]] && 
# source /home/fabien/.autojump/etc/profile.d/autojump.sh

관련 정보