jm-shell-매우 유익하고 사용자 정의 된 Bash 셸
jm-shell은 무료 오픈 소스, 작고 매우 유익하며 사용자 정의 된 Bash 셸로, 셸 활동에 대한 풍부한 정보는 물론 시스템 부하 평균, 랩톱/컴퓨터의 배터리 상태 및 훨씬 더.
중요한 것은, 히스토리 파일에 고유 한 명령 만 저장하는 Bash와 달리, 이전에 실행 한 명령을 검색하기 위해 jm-shell은 로그 파일에 각각의 모든 쉘 활동을 기록합니다.
또한 현재 디렉토리가 Git, Subversion 또는 Mercurial과 같은 버전 제어 시스템의 코드 저장소 인 경우 저장소 (예 : 활성 브랜치)에 대한 정보를 제공합니다.

- Has a status line (divider) to separate commands.
- Displays the number of items in current directory.
- Shows current location in the filesystem.
- It maintains a shell log file – full history of your shell activity.
- Displays current system load average if higher than, in red if critical (higher than 2).
- Shows the time last command finished.
- It prints an error code of last command, if any.
- Displays total time of last command if higher than 4 seconds.
- Has a prompt in the form; [email protected]:path.
- Supports multiple prompt styles.
- Supports background jobs.
- It also displays laptop battery charge status, in case it’s not full and many other features.
Linux 시스템에서 jm-shell을 설치하는 방법
최신 버전의 jm-shell을 설치하려면 jm-shell 소스의 git 저장소를 시스템에 복제하고 다음 명령을 사용하여 로컬 저장소로 이동해야합니다.
$ git clone https://github.com/jmcclare/jm-shell.git $ cd jm-shell
그런 다음 ps1, colors.sh 및 color_unset.sh에서 ~/.local/lib/bash
디렉토리로 심볼릭 링크를 만들거나 복사하여 jm-shell을 사용하도록 Bash를 구성합니다 (이를 만들어야합니다. 존재하지 않는 경우 디렉토리)와 같이.
$ mkdir ~/.local/lib/bash #create the directory if it doesn’t exist $ cp -v colors.sh colors_unset.sh ps1 -t ~/.local/lib/bash/

그런 다음 ~/.bashrc 셸 초기화 파일에 다음 줄을 추가하여 ps1
파일을 가져옵니다.
source ~/.local/lib/bash/ps1
그런 다음 ~/.bashrc에서 prompt_style 변수를 사용하여 다음과 같이 프롬프트 스타일을 설정하십시오 (사용 가능한 스타일에는 표준, 조정, 확장, 최소 또는 커비 포함).
prompt_style=extensive

~/bashrc 파일을 저장하고 닫은 다음 소스를 지정하여 변경 사항을 확인합니다.
$ source ~/.bashrc

쉘 로그 파일 위치를 변경하려면 (기본값은 ~/.local/share/bash/shell.log) ~/.bashrc 파일에서 BASHSHELLLOGFILE 변수를 사용하십시오.
BASHSHELLLOGFILE=~/.bash-shell.log
자세한 내용은 jm-shell Github Repository (https://github.com/jmcclare/jm-shell)로 이동하십시오.
jm-shell은 Bash 셸을 사용자 지정하기위한 스크립트 세트를 포함하는 매우 유익한 도구이며 일상적인 사용을위한 수많은 실용적이고 유익한 기능을 제공합니다. 그것을 시도하고 아래 댓글 섹션을 통해 피드백을 제공하십시오.