Customize your terminal for Mac OS
Color chart: https://upload.wikimedia.org/wikipedia/commons/1/15/Xterm_256color_chart.svg Follow these steps and paste the code in your .bashrc file you can change your boring/static terminal into a dynamic terminal.
#step 1: change the zsh commandline into bash by.
chsh -s /bin/bash
#Step 2: open (or create) .bash_profile file and type command below and save it.
export BASH_SILENCE_DEPRECATION_WARNING=1
if [ -f ~/.bashrc ];
then source ~/.bashrc
fi
#Step 3: Open your .bashrc and paste this you can customize your terminal.
red=$(tput setaf 202);
yellow=$(tput setaf 172);
blue=$(tput setaf 86);
green=$(tput setaf 118);
bold=$(tput bold);
reset=$(tput sgr0);
PS1+="\[${bold}\]\n";
PS1+="\[${red}\]\u"; # username
PS1+="\[${white}\] at ";
PS1+="\[${yellow}\]\h"; # host
PS1+="\[${white}\] in ";
PS1+="\[${blue}\]\W"; # working directory
PS1+="\n";
PS1+="\[${white}\]\$ \[${reset}\]\[${green}\]";
export PS1;
source: corey scharfer youtube chanel
-
14:10
NC Dirt Hunter
1 day agoThe forest reclaimed a Civil War Plantation. Metal Detecting for lost relics
17.2K -
7:55
Dr. Nick Zyrowski
1 day agoIs Berberine Really Natural Ozempic? - Berberine vs Ozempic
15.2K7 -
11:09
Tactical Advisor
1 day agoJohn Wick Shotgun For Home Defense? | Genesis Gen 12
13.1K16 -
14:34
China Uncensored
12 hours agoChina's Economic Collapse Is Worse Than Anyone Knows
14.6K26 -
16:57
Degenerate Jay
2 days ago $0.28 earnedKonami Is The Good Guy Now? - The Metal Gear Solid Delta And Silent Hill 2 Remake Redemption Arc
11.9K2 -
5:48
Good Kid Productions
23 hours agoSkid Row's New Chemical Enslavement (mini-doc)
12.4K5 -
16:21
Bright Insight
2 days agoThis Great Wall of China Conspiracy Theory is Disturbing
62.2K244 -
2:13:30
Geeks + Gamers
11 hours agoGeeks+Gamers Plays Party Animals
101K4 -
7:24:29
Akademiks
13 hours ago6 more Diddy Lawsuits. Kanye Gets Sued for SA. Gucci3rdLeg Infects Whole OF Game. Rooga press Adam?
104K31 -
7:46:01
Phyxicx
15 hours agoDome After Dark: Off The Grid and Scary Videos! - 10/14/2024
91K9