From dd25a25863b451160baa9b3a8e9f99fec2394711 Mon Sep 17 00:00:00 2001 From: Arturs Jansons Date: Sat, 23 Jul 2016 11:07:06 +0300 Subject: [PATCH] Wow, it works on Windows too! More information: https://gist.github.com/iegik/7485025 --- README.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/README.md b/README.md index 0266746..638bfbd 100644 --- a/README.md +++ b/README.md @@ -84,6 +84,12 @@ Standard: export PS1="\${debian_chroot:+(\$debian_chroot)}\u@\h:\w \[$txtcyn\]\$git_branch\[$txtred\]\$git_dirty\[$txtrst\]\$ " ``` +#### Windows + +```bash +export PS1="\[\033]0;$MSYSTEM:\w\007\033[32m\]\u@\h:\[\033[33m\w \[$txtcyn\]\$git_branch\[$txtred\]\$git_dirty\[$txtrst\]\033[0m\]\$ " +``` + Colorized: ```bash