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
'IT > Linux' 카테고리의 다른 글
wsl에서 apt update 에러가 날 때 (1) | 2024.10.11 |
---|---|
startup bash too slow with nvm loading in .bashrc config (0) | 2024.04.05 |
잘되던 putty ec2 접속이 안될때, Fatal Error No Supported Authentication Methods Available (0) | 2024.01.09 |
vscode ssh 접속 오류 could not establish connection to vscode (0) | 2021.11.18 |
Git branch master빼고 모두 삭제하는 방법. (0) | 2021.07.15 |