[Linux] Ubuntu beautify bash [튜토리얼]

[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

이 단락을 주석 처리하면 됩니다.

여기에 이미지 설명을 삽입하세요.

참조

Bash 쉘을 아름답게 만드세요 2022

Guess you like

Origin blog.csdn.net/qq_44940689/article/details/133852828