[Linux] Ubuntu beautify bash [튜토리얼]
기사 디렉토리
1. 현재 환경에 bash가 있는지 확인
- 현재 사용되는 bash 보기
echo $SHELL
다음과 같이
sjh@sjhR9000X:~$ echo $SHELL
/bin/bash
2. Synth-Shell 설치
git clone --recursive https://github.com/andresgongora/synth-shell.git
cd synth-shell
sudo chmod +x setup.sh
./setup.sh
그런 다음 프롬프트에 따라 설치하고 설치가 완료된 후 새 터미널을 열면 아래와 같이 구성할 수 있습니다.
3. Synth-Shell 구성
색상 및 기타 구성은 변경될 수 있습니다.
gedit ~/.config/synth-shell/synth-shell-prompt.config
4. 인사말 취소
재~/.bashrc
문제 중
## synth-shell-greeter.sh
if [ -f /home/sjh/.config/synth-shell/synth-shell-greeter.sh ] && [ -n "$( echo $- | grep #i )" ]; then
source /home/sjh/.config/synth-shell/synth-shell-greeter.sh
fi
이 단락을 주석 처리하면 됩니다.