Cool Ubuntu terminal

Just recently, I found the following article. Introducing Starship that makes Bash prompts transcendental

Anyone will customize the terminal at least once. I usually use Ubuntu, but in the above article, it seems that I am building an environment on a Mac. I couldn't find an article to introduce to Ubuntu, so I will write it.

table of contents

--Installing Rust --Introduction of Starship

Install Rust

For the installation of Rust in the Ubuntu environment, I referred to here. After installing and setting the path, we confirmed the execution. [Path settings](https://qiita.com/yoshiyasu1111/items/0c3d08658560d4b91431#%E3%83%91%E3%82%B9%E3%81%AE%E8%A8%AD%E5%AE%9A The following commands in) should be added to .bashrc.

$ source $HOME/.cargo/env

Introducing Starship

Once you've installed your Rust environment, it's easy. First, install Starship according to the Official Page.

$ cargo install starship

Next, add init script to shell's config file. I usually use bash, so add the following to .bashrc.

eval "$(starship init bash)"

This completes the environment construction. After that, let's customize it to your liking while referring to here!

Recommended Posts

Cool Ubuntu terminal
Ubuntu Linux 20.04
ubuntu codename
Ubuntu best
Call anaconda virtual environment from ubuntu terminal memorandum