{"repo":"agkozak/polyglot","free":true,"listed":false,"github":"https://github.com/agkozak/polyglot","clone":"git clone https://github.com/agkozak/polyglot.git","description":"Color, ASCII-only Git prompt for zsh, bash, ksh93, mksh, pdksh, oksh, dash, yash, busybox ash, and osh","language":"Shell","stars":195,"topics":["prompt","bash-prompt","ksh","mksh","zsh-theme","zsh","busybox","git","posix","zsh-prompt"],"license":"MIT","category":"cli-tools","readme_excerpt":"Polyglot Prompt The Polyglot Prompt is a dynamic prompt for Zsh, bash , ksh93 , mksh , pdksh , oksh , dash , yash , busybox ash , and osh that uses basic ASCII symbols (and color, when possible) to show: the username whether a session is local or remote over SSH an abbreviated path the Git branch and status the exit status of the last command, if it was not zero any virtual environment created with virtualenv , venv , pipenv , poetry , or conda Note: There is also support for color in pdksh , oksh , and osh . Table of Contents - Basics - Installation - Local and Remote Sessions - Abbreviated Paths - Git Branch and Status + POLYGLOT SHOW UNTRACKED - Exit Status - Virtual Environments - Kubernetes Integration - Colors in pdksh - Colors in MobaXterm - Enabling vi editing mode in Zsh and bash Basics The central functions of the prompt are the same in all supported shells: Additionally, in Zsh and in bash v4.3 and higher, the Polyglot Prompt indicates vi insert mode with a + , and command mode with a : , at the beginning of the prompt: See below for instructions on how to enable vi mode in your shell. Installation The Polyglot Prompt uses one script ( polyglot.sh ) that can be sourced from the rc file ( .zshrc , .bashrc , .kshrc , .shrc , .mkshrc , .yashrc , or .config/oil/oshrc ) of any supported shell: . /path/to/polyglot.sh Although no framework is required, a shim ( polyglot.plugin.zsh ) is provided to help with certain Zsh frameworks. Local and Remote Sessions When a session ","default_branch":null,"files":null,"tree":[],"storefront":"/r/agkozak","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/agkozak/polyglot/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}