Coding
PromptBeginner5 minmarkdown
Nano Banana Pro
Agent skill for nano-banana-pro
6
generic skill
Sign in to like and favorite skills
title: Coloring remote command line prompts type: regular tags: ssh, bash, terminal format: markdown generator: Tumblr Gem
layout: default
Picking up on a running theme on the dropshado.ws, I gots to have my command line prompts looking fresh. Locally, I'm now using bash-it, with its killer theming engine by John Schulz to make it happen.
Just recently I realized that I can style my prompt on my remote server when I SSH. Here's what I added to
~/.bash_profile.
PS1="\[\e[0;32m\]\u@\h \[\e[0;34m\]\w \[\e[0;30m\]# \[\e[39m\]"
Which looks like
[object Object], ,[object Object], ,[object Object], writing sweet commands