mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2025-01-16 22:37:05 +08:00
Merge pull request #1295 from XL64/master
Fixed johnathan-zsh.theme if rbenv doesn't exists
This commit is contained in:
commit
fdf3a3998f
@ -1,3 +1,5 @@
|
|||||||
|
functions rbenv_prompt_info >& /dev/null || rbenv_prompt_info(){}
|
||||||
|
|
||||||
function theme_precmd {
|
function theme_precmd {
|
||||||
local TERMWIDTH
|
local TERMWIDTH
|
||||||
(( TERMWIDTH = ${COLUMNS} - 1 ))
|
(( TERMWIDTH = ${COLUMNS} - 1 ))
|
||||||
|
Loading…
Reference in New Issue
Block a user