본문 바로가기

반응형

bash-completion

우분투에 Ansible을 위한 기본 Bash 완성을 설치하는 방법 우분투에 Ansible을 위한 기본 Bash 완성을 설치하는 방법 1. Bash Completion 패키지 설치 sudo apt-get update sudo apt-get install -y bash-completion 2. Ansible Bash Completion 스크립트 다운로드 sudo wget https://raw.githubusercontent.com/dysosmus/ansible-completion/master/ansible-completion.bash -O /etc/bash_completion.d/ansible 3. Bash Shell 재시작 exec bash 위의 단계를 따르면 Bash에서 Ansible 관련 작업을 할 때 자동 완성 기능을 사용할 수 있게 됩니다. 예를 들어 ansibl.. 더보기
우분투에서 bash 자동 완성 사용하는 방법 우분투에서 bash 자동 완성 사용하는 방법 기본적으로 Ubuntu에는 bash 자동 완성이 설치되어 있지만, 사용자 정의 자동 완성 스크립트를 추가하여 기능을 확장할 수 있습니다. bash-completion 패키지 설치 bash-completion은 Bash 셸에서 자동 완성 기능을 제공하는 패키지입니다. $ apt info bash-completion Package: bash-completion Version: 1:2.11-5ubuntu1 Priority: standard Section: shells Origin: Ubuntu Maintainer: Ubuntu Developers Original-Maintainer: Gabriel F. T. Gomes Bugs: https://bugs.launchp.. 더보기
CentOS 7에서 bash 자동 완성을 사용하는 방법 CentOS 7에서 bash 자동 완성을 사용하는 방법 bash-completion, bash-completion-extras 설치 yum install -y bash-completion bash-completion-extras bash_completion.sh 편집 find / -name bash_completion.sh $ find / -name bash_completion.sh /etc/profile.d/bash_completion.sh vim /etc/profile.d/bash_completion.sh # Check for interactive bash and that we haven't already been sourced. [ -z "$BASH_VERSION" -o -z "$PS1" -o -n.. 더보기

728x90
반응형