IT/Linux
Ubuntu에서 쉘 예쁘게 꾸미기 - starship
bepuri
2024. 12. 23. 10:17
728x90
$ curl -sS https://starship.rs/install.sh | sh
Configuration
> Bin directory: /usr/local/bin
> Platform: unknown-linux-musl
> Arch: x86_64
> Tarball URL: https://github.com/starship/starship/releases/latest/download/starship-x86_64-unknown-linux-musl.tar.gz
? Install Starship latest to /usr/local/bin? [y/N] y
! Escalated permissions are required to install to /usr/local/bin
[sudo] password for ubuntu:
Sorry, try again.
[sudo] password for ubuntu:
> Installing Starship as root, please wait…
✓ Starship latest installed
> Please follow the steps for your shell to complete the installation:
bash
Add the following to the end of ~/.bashrc:
eval "$(starship init bash)"
기존은 왼쪽 / 적용후는 오른쪽
만약 git repo로 관리되고 있는 폴더라면 아래와 같이 branch까지 나온다.
아주 좋아요~!
aws 환경이 아닌데 마지막 cloud 모양과 aws region과 비슷한 녀석이 나오는건 왜 그런지 모르겠네요..ㅎ
728x90