A pluggable, highly configurable prompt generator.
In Promptach, git branches are no longer displayed outside the path like other prompt generators, but are instead included in the path.
Consider this scenario: you are in the docs folder on the main branch of a git repository located at ~/projects/example. In other prompt generators, it would typically look like this:
~/project/example/docs (on main)And in Promptach, it will be displayed in a more ergonomic way:
~/project/example main docsPromptach also provides settings for path replacement display. In the scenario above, if projects is configured to display as 📁, it will be displayed as follows:
~/📁/example main docsWhen entering a path with symbolic links, the symbolic links will be displayed.
Consider this scenario:
> tree /foo
foo
└── content
> tree /bar
├── abs -> /foo
└── rel -> ../fooWhen entering /bar/abs/content, path will be displayed as /bar/(abs → /foo)/content;
when entering /bar/rel/content, path will be displayed as /bar/(rel → ../foo)/content.
There are no countless YAML, TOML, or INI files to edit - Promptach provides a clear and intuitive graphical setup interface.
Of course, you can still edit directly if you prefer.
Run PromptachSettings.
In $XDG_CONFIG_DIRS/Promptach.
No rounded corners, no background colors - just plain text paired with carefully blended foreground colors.
The always-available right prompt - in Promptach, the right prompt is implemented by detecting the console width and is not dependent on a specific shell.
Promptach is not written in shell. It is written in C++.
nix buildhttps://promptach.cachix.org/#pull
In the shell, set the environment variable PROMPT_COMMAND (not PS1) to Promptach.
Additionally, it will not overwrite PS1, which needs to be set manually. It is recommended to set PS1 to > .