The first line of .bashrc hardcoded a Visual Studio NodeJS path from my own box, which is useless to anyone cloning this. It is now a commented block explaining the /drives/<letter> mount scheme, so it reads as the one line you're meant to edit rather than something to puzzle over. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com> |
||
|---|---|---|
| .bashrc | ||
| .screenrc | ||
| README.md | ||
girlpop terminal system ⚗️
Terminal config for a Windows 11 + MobaXterm daily driver with a Debian jump host on the other end of an SSH pipe.
.bashrc— a trans-flag powerline prompt for bash, three modes.screenrc— GNU screen, with a status line and 10k scrollback
The prompt works anywhere bash and a Powerline-patched font do.
Three modes, switchable live:
| command | what you get |
|---|---|
girlpop_trans_on |
flag-striped powerline: blue / pink / white / pink, cycling across every segment |
girlpop_on |
neon mode — magenta/cyan/green, and the first segment turns red when the last command failed |
girlpop_off |
clean mode — plain date, time, path |
girlpop_status |
prints which mode you're in |
Trans mode is the default on startup.
Install
git clone https://git.360pc.com/evilbob/dotfiles ~/.spellbook
echo 'source ~/.spellbook/.bashrc' >> ~/.bashrc
Or just copy the GIRLPOP TERMINAL SYSTEM block into your own .bashrc.
Requires
- bash 4+ (uses arrays and
PROMPT_COMMAND) - a Powerline-patched font — the separator is
U+E0B0, the solid right-pointing triangle. Without one you get a tofu box instead of the ribbon. In MobaXterm: Settings → Configuration → Terminal → Font. - a terminal with 256-colour support (
TERM=xterm-256color)
How the stripes work
The flag colours are 256-colour approximations — blue 81, pink 219,
white 255 — cycled blue, pink, white, pink so the pattern reads as the flag
no matter how many path segments you have.
The trick to a seamless ribbon is the separator: its foreground is the colour you're leaving and its background is the colour you're entering, so adjacent stripes butt up against each other with no gap.
Segments are user@host, date, time, then one per directory in $PWD — and they
all share one continuous colour cycle, so the flag never resets mid-path.
.screenrc
Screen, not tmux. Opens two bash windows, keeps 10,000 lines of scrollback,
and puts a window list + hostname + date in an always-visible status line.
altscreen on is the important one: it means vim restores your terminal
contents when it exits, instead of leaving the file smeared up the scrollback.
termcapinfo xterm* ti@:te@ re-enables mouse-wheel scrolling through the host
terminal, which screen otherwise swallows.
cp .screenrc ~/.screenrc
Machine-specific bits
The top of .bashrc has a commented-out PATH block — that is the one line
you're meant to edit. Under MobaXterm and Cygwin, Windows drives live under
/drives/<letter>.