File tree Expand file tree Collapse file tree 2 files changed +2
-0
lines changed Expand file tree Collapse file tree 2 files changed +2
-0
lines changed Original file line number Diff line number Diff line change @@ -11,6 +11,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
11
11
- Fix git functions erroring out in non-git directories (thanks @duncanbeevers !)
12
12
- Git conflict counting with multiple files (thanks @gluxon !)
13
13
- Fix git_status when the git directory contains spaces (thanks @tanyaionova !)
14
+ - Do not print newline on enter if GEOMETRY_INFO is empty
14
15
15
16
## 2.2.0 - 2020-01-13
16
17
Original file line number Diff line number Diff line change @@ -120,6 +120,7 @@ add-zsh-hook precmd geometry::prompt
120
120
121
121
geometry::info () { # draw info if no command is given
122
122
[[ -n " $BUFFER " ]] && { zle accept-line && return ; }
123
+ [[ -z " $GEOMETRY_INFO " ]] && { zle accept-line && return ; }
123
124
echo ${(% ):- $(geometry:: wrap $PWD $GEOMETRY_INFO )}
124
125
geometry::prompt
125
126
}
You can’t perform that action at this time.
0 commit comments