#shell #prompt #bash #zsh #cli #convert #converter

bin+lib promptconv

A simple Bash > Zsh prompt converter

1 unstable release

0.1.3 Aug 26, 2021

#38 in #zsh

MIT license

20KB
284 lines

promptconv

A simple BASH > Zsh prompt conversion utility.

What is it?

Just converts a Bash shell prompt to a zsh prompt.

Usage

$ promptconv --help

promptconv 0.1.1
A simple Bash > Zsh prompt converter.

USAGE:
    promptconv [FLAGS] <prompt>

FLAGS:
    -h, --help       Prints help information
    -q, --quiet      Print less text, only printing the zsh prompt when done
    -V, --version    Prints version information

ARGS:
    <prompt>    Bash prompt to convert

Warnings

This program cannot:

  • Filter out Bash-specific escapes

It is meant to convert most Bash escapes to Zsh escapes.

Additional Links

License | Releases

Dependencies

~2.5MB
~49K SLoC