2016-11-29 22:05:10 +00:00
|
|
|
## next
|
|
|
|
|
2017-01-22 18:22:55 +00:00
|
|
|
- Fixed a bug where the tag display was broken on detached HEADs.
|
|
|
|
- Fixed a bug where SVN detection sometimes failed.
|
|
|
|
- Fixed the `load` and `ram` segments for BSD.
|
|
|
|
- Fixed code-points that changed in Awesome fonts.
|
|
|
|
- Fixed display of "OK_ICON" in `status` segment in non-verbose mode.
|
|
|
|
- Fixed an issue where dir name truncation that was very short sometimes failed.
|
|
|
|
- Speed & accuracy improvements to the battery segment.
|
|
|
|
- Added Github syntax highlighting to README.
|
|
|
|
- Various documentation cleanup.
|
|
|
|
|
|
|
|
### `vcs` changes
|
|
|
|
|
|
|
|
The VCS segment can now display icons for remote repo hosting services, including Github, Gitlab, and 'other'.
|
|
|
|
|
2016-11-29 22:05:10 +00:00
|
|
|
### `dir` changes
|
|
|
|
|
|
|
|
Added an option to configure the path separator. If you want something
|
|
|
|
else than an ordinary slash, you could set
|
|
|
|
`POWERLEVEL9K_DIR_PATH_SEPARATOR` to whatever you want.
|
|
|
|
|
2017-02-24 00:38:58 +00:00
|
|
|
#### `truncate_with_package_name` now searches for `composer.json` as well
|
|
|
|
|
|
|
|
Now `composer.json` files are searched as well. By default `package.json` still takes
|
|
|
|
precedence. If you want to change that, set `POWERLEVEL9K_DIR_PACKAGE_FILES=(composer.json package.json)`.
|
|
|
|
|
2017-02-12 23:56:32 +00:00
|
|
|
### New segment 'command_execution_time' added
|
|
|
|
|
|
|
|
Shows the duration a command needed to run. By default only durations over 3 seconds
|
|
|
|
are shown (can be adjusted by setting POWERLEVEL9K_COMMAND_EXECUTION_TIME_THRESHOLD).
|
|
|
|
|
2017-01-31 22:57:59 +00:00
|
|
|
### New segment 'dir_writable' added
|
|
|
|
|
|
|
|
This segment displays a lock icon if your user has no write permissions in the current folder.
|
|
|
|
|
2017-01-22 02:38:45 +00:00
|
|
|
### New segment 'disk_usage' added
|
2017-01-21 03:24:03 +00:00
|
|
|
|
|
|
|
This segment will show the usage level of your current partition.
|
|
|
|
|
2017-01-22 18:22:55 +00:00
|
|
|
### New segment 'public_ip' added
|
|
|
|
|
|
|
|
Fetches your Public IP (using ident.me) and displays it in your prompt.
|
|
|
|
|
|
|
|
### New segment 'swift_version' added
|
|
|
|
|
|
|
|
This segment displays the version of Swift that is installed / in your path.
|
|
|
|
|
|
|
|
### New segment 'detect_virt' added
|
|
|
|
|
|
|
|
Detects and reports if you are in a virtualized session using `systemd`.
|
|
|
|
|
2017-01-08 21:16:01 +00:00
|
|
|
## v0.5.0
|
|
|
|
|
|
|
|
### `load` and `ram` changes
|
|
|
|
|
|
|
|
These two segments now support BSD.
|
|
|
|
|
|
|
|
### `vcs` changes
|
|
|
|
|
|
|
|
- We implemented a huge speed improvement for this segment.
|
|
|
|
- Now this segment supports Subversion repositories.
|
|
|
|
- Add ability to hide tags by setting `POWERLEVEL9K_VCS_HIDE_TAGS` to true.
|
|
|
|
|
|
|
|
## `anaconda` changes
|
|
|
|
|
|
|
|
Speed improvements for `anaconda` segment.
|
|
|
|
|
2016-04-20 23:55:55 +00:00
|
|
|
## v0.4.0
|
2016-01-08 20:34:30 +00:00
|
|
|
|
2016-04-20 23:55:30 +00:00
|
|
|
### Development changes
|
|
|
|
|
|
|
|
From now on, development makes use of a CI system "travis".
|
|
|
|
|
2016-02-26 13:26:49 +00:00
|
|
|
### `vcs` changes
|
|
|
|
|
|
|
|
The default state was renamed to `clean`. If you overrode foreground
|
|
|
|
or background color in the past, you need to rename your variables to:
|
|
|
|
|
|
|
|
```zsh
|
|
|
|
POWERLEVEL9K_VCS_CLEAN_FOREGROUND='cyan'
|
|
|
|
POWERLEVEL9K_VCS_CLEAN_BACKGROUND='white'
|
|
|
|
```
|
|
|
|
|
2016-04-20 23:53:27 +00:00
|
|
|
Additionaly the vcs segment now has an `untracked` state which
|
|
|
|
indicates that you have untracked files in your repository.
|
|
|
|
|
2016-04-03 17:13:58 +00:00
|
|
|
The foreground color of actionformat is now configurable via:
|
|
|
|
```zsh
|
|
|
|
POWERLEVEL9K_VCS_ACTIONFORMAT_FOREGROUND='green'
|
|
|
|
```
|
|
|
|
|
2016-04-20 16:24:58 +00:00
|
|
|
Also, the vcs segment uses the foreground color it was configured to.
|
|
|
|
That said, the variables `POWERLEVEL9K_VCS_FOREGROUND` and
|
|
|
|
`POWERLEVEL9K_VCS_DARK_FOREGROUND` are no longer used. Instead use
|
|
|
|
the proper variable `POWERLEVEL9K_VCS_<STATE>_FOREGROUND` to change
|
|
|
|
foreground color.
|
|
|
|
|
2016-04-11 19:27:17 +00:00
|
|
|
### `dir` Shortening Strategies
|
|
|
|
|
2016-04-20 16:31:36 +00:00
|
|
|
There is now a path shortening strategy that will use the `package.json` file to
|
|
|
|
shorten your directory path. See the documentation for the `dir` segment for more
|
|
|
|
details.
|
|
|
|
|
|
|
|
Also, the shorten delimiter was changed to an unicode ellipsis. It is configurable
|
|
|
|
via `POWERLEVEL9K_SHORTEN_DELIMITER`.
|
2016-04-11 19:27:17 +00:00
|
|
|
|
2016-04-20 23:41:16 +00:00
|
|
|
### `rbenv` changes
|
|
|
|
|
|
|
|
The `rbenv` segment now makes use of the full rbenv command, so the correct
|
|
|
|
ruby version is now shown if it differs from the globally one.
|
|
|
|
|
2016-04-11 19:30:09 +00:00
|
|
|
### `node`, `nvm` Segments
|
|
|
|
|
|
|
|
Improvements to speed / reliability.
|
|
|
|
|
2016-04-20 23:34:31 +00:00
|
|
|
### `ram` changes
|
|
|
|
|
|
|
|
The `ram` segment was split up into `ram` and `swap`. The
|
|
|
|
`POWERLEVEL9K_RAM_ELEMENTS` variable is obsolete.
|
|
|
|
|
|
|
|
### New segment `swap` added
|
|
|
|
|
|
|
|
Due to the split up of the ram segment, this one was created. It
|
|
|
|
shows the currently used swap size.
|
|
|
|
|
2016-04-20 16:35:09 +00:00
|
|
|
### New segment `nodeenv` added
|
|
|
|
|
|
|
|
Added new `nodeenv` segment that shows the currently used node environment.
|
|
|
|
|
2016-04-20 23:32:00 +00:00
|
|
|
### New segment `aws_eb_env` added
|
|
|
|
|
|
|
|
This segment displays the current Elastic Beanstalk environment.
|
|
|
|
|
2016-04-20 16:36:34 +00:00
|
|
|
### New segment `chruby` added
|
|
|
|
|
|
|
|
Added new `chruby` segment to support this version manager.
|
|
|
|
|
2016-04-20 16:33:04 +00:00
|
|
|
### New segment `docker_machine` added
|
2016-04-11 19:30:09 +00:00
|
|
|
|
2016-04-20 16:33:04 +00:00
|
|
|
Added new `docker_machine` segment that will show your Docker machine.
|
2016-04-11 19:30:09 +00:00
|
|
|
|
2016-04-20 16:26:15 +00:00
|
|
|
### New segment `anaconda` added
|
|
|
|
|
|
|
|
A new segment `anaconda` was added that shows the current used
|
|
|
|
anaconda environment.
|
|
|
|
|
2017-01-08 21:16:01 +00:00
|
|
|
## New segment `pyenv` added
|
|
|
|
|
|
|
|
This segment shows your active python version as reported by `pyenv`.
|
|
|
|
|
|
|
|
|
2016-01-31 10:08:09 +00:00
|
|
|
## v0.3.2
|
2016-01-23 00:39:50 +00:00
|
|
|
|
2016-01-31 10:08:09 +00:00
|
|
|
### `vcs` changes
|
|
|
|
|
|
|
|
A new state `UNTRACKED` was added to the `vcs` segment. So we now
|
|
|
|
have 3 states for repositories: `UNTRACKED`, `MODIFIED`, and the
|
|
|
|
default state. The `UNTRACKED` state is active when there are files
|
|
|
|
in the repository directory which have not been added to the repo
|
|
|
|
(the same as when the `+` icon appears). The default color for the
|
|
|
|
`UNTRACKED` state is now yellow, and the default color for the
|
|
|
|
`MODIFIED` state is now read, but those colors can be changed by
|
|
|
|
setting these variables, for example:
|
2016-02-05 18:59:33 +00:00
|
|
|
|
2016-01-31 10:08:09 +00:00
|
|
|
```zsh
|
|
|
|
POWERLEVEL9K_VCS_MODIFIED_FOREGROUND='black'
|
|
|
|
POWERLEVEL9K_VCS_MODIFIED_BACKGROUND='white'
|
|
|
|
POWERLEVEL9K_VCS_UNTRACKED_FOREGROUND='green'
|
|
|
|
POWERLEVEL9K_VCS_UNTRACKED_BACKGROUND='blue'
|
|
|
|
```
|
2016-01-23 00:39:50 +00:00
|
|
|
|
2016-01-17 14:05:34 +00:00
|
|
|
## v0.3.1
|
|
|
|
|
|
|
|
### `dir` changes
|
|
|
|
|
|
|
|
A new state `HOME_SUBFOLDER` was added. So if you want to overwrite
|
|
|
|
colors for this segment, also set this variables:
|
|
|
|
```zsh
|
|
|
|
POWERLEVEL9K_DIR_HOME_SUBFOLDER_BACKGROUND='black'
|
|
|
|
POWERLEVEL9K_DIR_HOME_SUBFOLDER_FOREGROUND='white'
|
|
|
|
```
|
|
|
|
|
2016-01-22 01:11:25 +00:00
|
|
|
### `background_jobs` changes
|
|
|
|
Now displays the number of background jobs if there's more than 1.
|
|
|
|
You can disable it by setting :
|
|
|
|
```zsh
|
|
|
|
POWERLEVEL9K_BACKGROUND_JOBS_VERBOSE=false
|
|
|
|
```
|
|
|
|
|
2016-01-08 19:32:14 +00:00
|
|
|
## v0.3.0
|
2015-11-04 18:53:56 +00:00
|
|
|
|
2015-12-16 19:19:50 +00:00
|
|
|
### Introduced "visual identifiers" to the segments
|
|
|
|
|
|
|
|
Now almost every segment can have a visual identifier, which is an
|
|
|
|
icon whose color could be adjusted by users.
|
|
|
|
|
2015-12-16 18:26:27 +00:00
|
|
|
### Added ability for "joined" segments
|
|
|
|
|
|
|
|
You can now merge segments together by suffixing the segment name with "_joined".
|
|
|
|
For Developers: Be aware that the order of parameters in left/right_prompt_segment
|
|
|
|
has changed. Now a boolean parameter must be set as second parameter (true if joined).
|
|
|
|
|
2016-01-08 19:24:40 +00:00
|
|
|
### `dir` changes
|
|
|
|
|
|
|
|
This segment now has "state", which means you now can change the colors seperatly
|
|
|
|
depending if you are in your homefolder or not.
|
|
|
|
Your variables for that should now look like:
|
|
|
|
```zsh
|
|
|
|
POWERLEVEL9K_DIR_HOME_BACKGROUND='green'
|
|
|
|
POWERLEVEL9K_DIR_HOME_FOREGROUND='cyan'
|
|
|
|
POWERLEVEL9K_DIR_DEFAULT_BACKGROUND='red'
|
|
|
|
POWERLEVEL9K_DIR_DEFAULT_FOREGROUND='yellow'
|
|
|
|
```
|
|
|
|
|
2015-12-13 11:41:49 +00:00
|
|
|
### `status` changes
|
|
|
|
|
|
|
|
The `status` segment was split up into three segments. `background_jobs` prints
|
|
|
|
an icon if there are background jobs. `root_indicator` prints an icon if the user
|
|
|
|
is root. The `status` segment focuses now on the status only.
|
2016-01-08 19:24:40 +00:00
|
|
|
The `status` segment also now has "state". If you want to overwrite the colors,
|
|
|
|
you have to add the state to your variables:
|
|
|
|
```zsh
|
|
|
|
POWERLEVEL9K_STATUS_ERROR_BACKGROUND='green'
|
|
|
|
POWERLEVEL9K_STATUS_ERROR_FOREGROUND='cyan'
|
|
|
|
POWERLEVEL9K_STATUS_OK_BACKGROUND='red'
|
|
|
|
POWERLEVEL9K_STATUS_OK_FOREGROUND='yellow'
|
|
|
|
```
|
2015-12-13 11:41:49 +00:00
|
|
|
|
2015-11-18 22:45:22 +00:00
|
|
|
### New segment `custom_command` added
|
|
|
|
|
|
|
|
A new segment that allows users to define a custom command was added.
|
|
|
|
|
2015-11-04 18:53:56 +00:00
|
|
|
### `virtualenv` changes
|
|
|
|
|
2015-12-16 19:20:16 +00:00
|
|
|
This segment now respects `VIRTUAL_ENV_DISABLE_PROMPT`. If this variable is set
|
2015-11-04 18:53:56 +00:00
|
|
|
to `true`, the segments does not get rendered.
|
|
|
|
|
|
|
|
### `load` changes
|
|
|
|
|
|
|
|
The `load` segement was split and a new segment `ram` was extracted. This new
|
|
|
|
segment is able to show the free ram and used swap.
|
|
|
|
|
|
|
|
### `vcs` changes
|
|
|
|
|
|
|
|
This prompt uses the `VCS_INFO` subsystem by ZSH. From now on this subsystem
|
2015-12-16 19:20:16 +00:00
|
|
|
is only invoked if a `vcs` segment was configured.
|
2015-11-04 18:53:56 +00:00
|
|
|
|
2015-11-17 00:41:44 +00:00
|
|
|
### `rvm` changes
|
|
|
|
|
|
|
|
This segment now does not invoke RVM directly anymore. Instead, is relys on the
|
|
|
|
circumstance that RVM was invoked beforehand and just reads the environment
|
|
|
|
variables '$GEM_HOME' and '$MY_RUBY_HOME'. It also now displays the used gemset.
|
|
|
|
|
2015-11-04 18:53:56 +00:00
|
|
|
### New segment `battery` added
|
|
|
|
|
|
|
|
A new segment that shows the battery status of your laptop was added.
|
|
|
|
|
|
|
|
### New segment `go_version` added
|
|
|
|
|
|
|
|
This segment shows the GO version.
|
|
|
|
|
|
|
|
### New segment `nvm` added
|
|
|
|
|
|
|
|
This segment shows your NodeJS version by using NVM (and if it is not 'default').
|
|
|
|
|
|
|
|
### New segment `todo` added
|
|
|
|
|
|
|
|
This segment shows your ToDos from [todo.sh](http://todotxt.com/).
|
|
|
|
|
2015-11-17 00:41:44 +00:00
|
|
|
### New segment `rust_version` added
|
|
|
|
|
|
|
|
This segment shows your local rust version.
|
|
|
|
|
2015-11-04 18:53:56 +00:00
|
|
|
## v0.2.0
|
|
|
|
|
|
|
|
### `longstatus` is now `status`
|
|
|
|
|
|
|
|
The segments got merged together. To show the segment only if an error occurred,
|
|
|
|
set `POWERLEVEL9K_STATUS_VERBOSE=false` (this is the same behavior as the old
|
|
|
|
`status` segment.
|
|
|
|
|
|
|
|
### Icon overriding mechanism added
|
|
|
|
|
|
|
|
All icons can now be overridden by setting a variable named by the internal icon
|
|
|
|
name. You can get a full list of icon name by calling `get_icon_names`.
|
|
|
|
|
|
|
|
### Same color segements get visual separator
|
|
|
|
|
|
|
|
This separator can be controlled by setting `POWERLEVEL9K_LEFT_SUBSEGMENT_SEPARATOR`
|
|
|
|
or `POWERLEVEL9K_RIGHT_SUBSEGMENT_SEPARATOR`. By default this separator is
|
|
|
|
printed in the foreground color.
|
|
|
|
|
|
|
|
### `dir` segment has different strategies for truncation
|
|
|
|
|
|
|
|
Now you can choose between `truncate_middle` or `truncate_from_right` by setting
|
|
|
|
`POWERLEVEL9K_SHORTEN_STRATEGY`. Default behavior is unchanged (truncate whole
|
|
|
|
directories). `POWERLEVEL9K_SHORTEN_DIR_LENGTH` can be used to influence how
|
|
|
|
much will be truncated (either direcories or chars).
|
|
|
|
|
|
|
|
### New segment `ip` added
|
|
|
|
|
|
|
|
This segment shows your internal IP address. You can define which interfaces IP
|
|
|
|
will be shown by specifying it via `POWERLEVEL9K_IP_INTERFACE`.
|
|
|
|
|
|
|
|
### New segment `load` added
|
|
|
|
|
|
|
|
This segment shows your computers 5min load average.
|
|
|
|
|
|
|
|
### New segment `os_icon` added
|
|
|
|
|
|
|
|
This segment shows a little indicator which OS you are running.
|
|
|
|
|
|
|
|
### New segment `php_version` added
|
|
|
|
|
|
|
|
This segment shows your PHP version.
|
|
|
|
|
|
|
|
### New segment `vi_mode` added
|
|
|
|
|
|
|
|
This segment gives you a hint in which VI-mode you currently are. This
|
|
|
|
segment requires a proper configured VI-mode.
|
|
|
|
|
|
|
|
### Added the ability to have empty left or right prompts
|
|
|
|
|
|
|
|
By setting the according variable to an empty array, the left or right
|
|
|
|
prompt will be empty.
|
|
|
|
|
|
|
|
## v0.1.0
|
|
|
|
|
|
|
|
This is the first release
|