tarjoilija / zgen

A lightweight and simple plugin manager for ZSH
BSD 2-Clause "Simplified" License
1.5k stars 99 forks source link

The commands display themselves on the next line when export TERM=screen-256color and when oh-my-zsh is loaded #90

Open kreedz opened 7 years ago

kreedz commented 7 years ago
kreedz@debian:~% export TERM=screen-256color
export%  
kreedz@debian:~% echo $TERM
echoscreen-256color
kreedz@debian:~% cd
cd%
kreedz@debian:~% pwd
pwd/home/kreedz
kreedz@debian:~% export TERM=xterm-256color
export%
kreedz@debian:~% cd
kreedz@debian:~% pwd
/home/kreedz

.zshrc:

source ~/.zgen/zgen.zsh
if ! zgen saved; then
    zgen oh-my-zsh
    zgen save
fi

I've tried with zplug and it doesn't have this problem.

kreedz commented 7 years ago

And I found that with the same .zshrc and whatever TERM when you type mana and click TAB than you get -manager instead of mana. If remove zgen oh-my-zsh than this problem dissappear. I've tried with zplug too and it doesn't have this issue.

I think it's related with next thing. Now in my case the function definitions from oh-my-zsh are accessible from command line in suggestion list. So when I type manage then I get the name of functions: 2017-04-16-000612_1366x768_scrot They from oh-my-zsh/django.