Note: you can run
echo ${JOVIAL_VERSION}
in terminal to see what version you used now.
- override to
TERM=xterm-256color
when original is 'TERM=xterm' for default colorful compatibility
- fix git status hint for
git am
(apply a series of patches)
- feat: exchange position of args for
gcmt
function (git commit with modified time) for more intuitively - fix: keep committer date when
gfbi
, show signature whenglti
- git status in prompt work with submodules now
- support update submodules in git fetch and checkout function
gfco
- adjust comments of functions, design to show comments in
where xxx
orwhich xxx
- remove functions
stree
(support by official), andpy2venv
(migrated tovenv --py2
)
- support show python3 version in prompt
- add variable
GIT_REMOTE
to support in git fetch functiongfco
andgfbi
-
migrate
path
part inJOVIAL_AFFIXES
config named tocurrent-dir
,to fix the bug that causes responsive style error due to
path
part.
example in .zshrc
:
- JOVIAL_AFFIXES[path]='%1~'
+ JOVIAL_AFFIXES[current-dir]='%1~'
- support the ability to override the prompt for
path
part in.zshrc
.
example in .zshrc
:
# @deprecated use `JOVIAL_AFFIXES[current-dir]` in v2.5.1
JOVIAL_AFFIXES[path]='%1~'
- support the ability to override the prompt parts for
hostname
andusername
in.zshrc
.
example:
JOVIAL_AFFIXES[hostname]='MacbookPro'
JOVIAL_AFFIXES[username]='zthxxx'
- will no longer override var
TERM=xterm-256color
except in defaultscreen
command. #23
- add docs for support use with
antigen
- no need setopt in .zshrc anymore for manually install like antigen
- fix reset style (
sgr_reset
) in manually used withoutoh-my-zsh
orzmodload zsh/colors
- add default color for typing-pointer and customization, darken the normal color
- fix progress display miss in git rebase interactive
- fix async job rerun with wrong edge case
- set xterm 256 color mode by default, for out-of-the-box effect in gnu/screen or tmux
-
remove read stdin for block subprocess,
we found this cause zpty callback blocked in zsh v5.3
- refactor to asynchronous update git status, now it's so fast in render and interaction. (4ms pre render)
- pin last command execute elapsed time (same as exit code).
- support custom order and affixes of each prompt parts.
- remove dependencies on
autoload -U colors
orFG[$color]
/BG[$color]
settings anymore, in manually load theme.
- fix bug that rerender will eat previous line
- force declare theme variables to global scope, compatible with use
source <jovial-theme>
in function - support
.zshrc
as symlink in install script - fix
rev-parse-find
function when cwd at ~/xxx/
- remove useless git cli params in theme, and remove plugin macos in installer
- always reinstall
zsh-history-enquirer
by npm
- support easy to custom jovial's colors and symbols
- refactor installer, more readable logs and support proxy env
- adjust code style, reduce subprocess call for performance
- rename osx plugin to macos, follows oh-my-zsh updated
There are some breaking changes for customization,
some customized variables and functions renamed:
- variable
JOVIAL_ARROW
=>JOVIAL_SYMBOL[arrow]
- function
_jov_type_tip_pointer
=>@jov.typing-pointer
, - and now, arrows could replace with variables
JOVIAL_SYMBOL[arrow.git-clean]
andJOVIAL_SYMBOL[arrow.git-dirty]
- some keys in
JOVIAL_PROMPT_PRIORITY
renamed,git_info
=>git-info
,dev_env
=>dev-env