본문으로 바로가기

[Setup] 사용 중인 PS1 환경

category ETC/Linux 2020. 10. 1. 11:43
728x90
반응형

쉘에서 써야되는 명령어가 길어짐에 따라 환경설정을 다음과 같이 바꿔봤습니다.

 

설정 방법은 ~/.bashrc 를 열어 아래 사진과 같은 위치에  다음 값을 복붙 하시면 됩니다.

 

PS1='\n${debian_chroot:+($debian_chroot)}\[\033[01;32m\]\u\[\033[01;36m\]@\[\033[01;34m\]\h\[\033[00m\]:\[\033[01;36m\]\w \n\$ \[\033[00m\]'

 

그 외에도 아래의 링크에 접속하면 Parrot 쉘의 PS1 모양을 제공해주는 소스는 다음과 같습니다.

https://gist.github.com/rickdaalhuizen90/d1df7f6042494b982db559efc01d9557

 

Parrot Os bash theme for ubuntu

Parrot Os bash theme for ubuntu. GitHub Gist: instantly share code, notes, and snippets.

gist.github.com

728x90
반응형