Releases: mengelbrecht/slimline
4.1.1
4.1.0
This release contains the following changes:
- Add a section
newline
which can be used to build multi-line left prompts - Automatically recover the prompt when an async task for a section fails
4.0.0
For this release slimline was completely rewritten to be modular, easily extendable and extensively customizable. Each component of the prompt is now called a section.
- Add support for customizing the output of all sections
- Add support for custom sections (including asynchronous task support)
- Add nodejs, vi_mode and time sections
- Integrate zsh-async which now handles all asynchronous task functionality
To customize the used sections see the global options. The customization of the format of the sections itself is described here. For information on how to develop custom sections read here.
Note: To implement the new features the option format of slimline has changed. To enable the fallback support for the legacy options used by slimline < 4.x use the following setting:
export SLIMLINE_PROMPT_VERSION=1
When using this setting the legacy options are automatically translated to the new option format.
3.1.0
This release includes the following changes:
- Add support for python virtualenv (#12, thanks @fgandellini)
- Use newer gitline version with fix for python3 (#11)
The python virtualenv display is enabled by default and can be customized using environment variables. See the Readme for more information.
3.0.0
This release includes the following new features:
- git information display now detects if a tag is checked out
- git information display now detects if the repository is in a special state like rebase, merge, bisect, etc.
- git information display now correctly handles zsh plugins which can change the current working directory (eg. fzf-marks)
- the current working directory is colored red if it matches the root
/
directory (configurable viaSLIMLINE_CWD_ROOT_COLOR
) - the user and host are also displayed if the user differs from the default user
- if the user is root it is displayed in red (configurable via
SLIMLINE_USER_ROOT_COLOR
) - a non-root user is now colored green by default (configurable via
SLIMLINE_USER_COLOR
)
To implement those features some breaking configuration changes had to be made:
SLIMLINE_GIT_*
settings were renamed toGITLINE_*
SLIMLINE_DISPLAY_SSH_INFO
was renamed toSLIMLINE_DISPLAY_USER_HOST_INFO
SLIMLINE_SSH_INFO_USER_COLOR
was renamed toSLIMLINE_USER_COLOR
SLIMLINE_SSH_INFO_HOST_COLOR
was renamed toSLIMLINE_HOST_COLOR
The gitline information display is now a separate project and included as a submodule. The options for gitline are listed here.
2.1.0
This release contains new features and some bugfixes:
- add support for displaying
AWS_PROFILE
in the prompt (thanks @kwinczek) - add python 3 support to git status script
- improved readme with examples
- skip git remote commits status on orphan branches
2.0.1
This release adds python 2.6 compatibility to the git information script.
2.0.0
This release improves the slimline customization capabilities and git information display.
Verison 2 replaces git-radar with a custom python script which has the following advantages:
- faster: obtains the git information in parallel and runs faster than git-radar
- more customizable: nearly everything can be customized using environment variables
- lightweight: very small python script
- maintained: the script will be updated and improved as needed
In addition the colors used in the slimline prompt can be completely customized.
See the Readme for more information.
1.4.0
This release includes git-radar 0.5.0.
New features:
- git prompt now also displays stashes
- customization of the auto-fetch interval, see here
1.3.0
This release includes git-radar 0.4.0 and allows customization of the git-radar prompt format.
See the readme for more information.