Day 52
Customizing my "Bash" prompt!
#CodingPhase #TheCodingWay #365CodingPhaseChallenge
**********
blue=$(tput setaf 153);
green=$(tput setaf 71);
orange=$(tput setaf 166);
white=$(tput setaf 15);
yellow=$(tput setaf 228);
reset=$(tput sgr0);
bold=$(tput bold);
PS1="\[\033]0;\w\007\]";
PS1="\[${bold}\]\n";
PS1="\[${userStyle}\]\u";
PS1="\[${white}\] @ ";
PS1="\[${hostStyle}\]\h";
PS1="\[${white}\] in ";
PS1="\[${green}\]\W"; #Use w toshorten path
PS1="\[${prompt_git /"/[${white}\] on \[${blue}\]\" \"\[${blue}\
PS1="\n";
PS1="\[${white}\]\$ \[${reset}\]";
export PS1;
#CodingPhase #TheCodingWay #365CodingPhaseChallenge
**********
blue=$(tput setaf 153);
green=$(tput setaf 71);
orange=$(tput setaf 166);
white=$(tput setaf 15);
yellow=$(tput setaf 228);
reset=$(tput sgr0);
bold=$(tput bold);
PS1="\[\033]0;\w\007\]";
PS1="\[${bold}\]\n";
PS1="\[${userStyle}\]\u";
PS1="\[${white}\] @ ";
PS1="\[${hostStyle}\]\h";
PS1="\[${white}\] in ";
PS1="\[${green}\]\W"; #Use w toshorten path
PS1="\[${prompt_git /"/[${white}\] on \[${blue}\]\" \"\[${blue}\
PS1="\n";
PS1="\[${white}\]\$ \[${reset}\]";
export PS1;
Comments
Post a Comment