Page 1 of 1

How to: Change $ in your terminal to ₿

Posted: 27 May 2022, 19:21
by Wiredancer
This is just cosmetic minor change for people who spend more time in terminal (most of node runners after their first year).

Credit goes to original guide taken from RaspiBolt page.

1. login to your terminal

Code: Select all

ssh admin@mynode.local or ssh admin@node.ip.addr
2. Edit .bashrc file in your admins home directory

Code: Select all

nano /home/admin/.bashrc

Code: Select all

# enable color prompt by removing # / uncommenting
force_color_prompt=yes

# REPLACE THE FIRST PS1 LINE under the force_color_prompt=yes (about 12 lines bellow) with the following

PS1="${debian_chroot:+($debian_chroot)}\[\e[33m\]\u@\h\[\033[01;34m\]\w\[\e[33;40m\] ₿\[\e[m\] "

# set "ls" to always use the -la option (insert at the end of the file or to the alias section close to the bottom of the file)
alias ls='ls -la --color=always'
3. Reload new configuration

Code: Select all

source /home/admin/.bashrc
Enjoy! 8-)
Happy routing.