Spread the love

debian을 minimal버전을 설치해서 그런지 터미널에 명령 줄의 절반을 입력하고 <TAB>을 누르면 자동 완성 기능이 구현되지 않았다.  예를들어 apt ins치고 <tab>누르면 apt install이 나와야 되는데 말이죠….몇 번의 구글 검색 끝에 아래와 같은 해결책이 발견.

1. bash-completion설치 :

apt-get install bash-completion

2. / etc / profile 혹은 .bashrc에 추가.

if [ -f /etc/bash_completion ]; then
. /etc/bash_completion
fi

3. / etc / profile 구성 파일을 새로 고쳐 적용하십시오.

source /etc/profile

구독신청
Notify of
guest

1 Comment
oldest
newest most voted
Inline Feedbacks
View all comments
1
0
Would love your thoughts, please comment.x
()
x