Comments (28)
@nbara I can't reproduce this. It seems to be working fine.
source ~/.zplug/init.zsh
autoload colors && colors
setopt prompt_subst
# zplug 'robbyrussell/oh-my-zsh', use:'lib/*'
zplug 'plugins/git', from:oh-my-zsh, nice:10
zplug 'themes/sorin', from:oh-my-zsh, nice:11
zplug check || zplug install
zplug load --verbose
from zplug.
@NigoroJr Updated zplug and not it works fine thanks!
from zplug.
Thank you for your report. I found this bug now. I will fix it soon. Thank you
from zplug.
Fixed! Please run zplug update --self
or download with curl
again.
from zplug.
Awesome! π
from zplug.
I have similar issue in v2, but v1 is work. I am using the oh-my-zsh them blinks
.
from zplug.
Thanks for reporting! I'll reproduce it
from zplug.
@stevenjlho I couldn't reproduce your problem. #95 may be related so please take a look at it.
from zplug.
i am having the same problem, #95 does not fix it
# Essential
if [[ ! -d ~/.zplug ]]; then
git clone https://github.com/zplug/zplug ~/.zplug
source ~/.zplug/init.zsh && zplug update --self
fi
source ~/.zplug/zplug
export PATH=${HOME}/bin:${HOME}/.local/bin:/usr/local/bin:${PATH}
export HOMEBREW_CASK_OPTS="--appdir=/Applications"
export ZSH=$HOME/.zplug/repos/robbyrussell/oh-my-zsh
export EDITOR=atom
# What does this do?
zplug "plugins/brew", from:oh-my-zsh, nice:10
zplug "plugins/brew-cask", from:oh-my-zsh, nice:10
zplug "plugins/git", from:oh-my-zsh, nice:10
zplug "plugins/osx", from:oh-my-zsh, if:"[[ $OSTYPE == *darwin* ]]"
zplug "plugins/zsh_reload", from:oh-my-zsh
zplug "plugins/colorize", from:oh-my-zsh
zplug "zsh-users/zsh-completions"
zplug "zsh-users/zsh-history-substring-search"
zplug "zsh-users/zsh-syntax-highlighting", nice:19
zplug "b4b4r07/zplug"
zplug "robbyrussell/oh-my-zsh", use:"lib/*.zsh", nice:14
zplug "themes/robbyrussell", from:oh-my-zsh
if ! zplug check --verbose; then
printf "Install? [y/N]: "
if read -q; then
echo; zplug install
fi
fi
# Then, source packages and add commands to $PATH
zplug load
from zplug.
source ~/.zplug/zplug
part of the source ~/.zplug/init.zsh
Please try to.
For more details, I think it easy to understand is better to look at the Wiki.
from zplug.
source ~/.zplug/init.zsh
does not make a difference...
from zplug.
@nbara Haven't really tried it on my machine, but I think it's because you have "robbyrussell/oh-my-zsh" use:"lib/*"
loaded after themes/robbyrussell
. Try changing the nice
value to say -1
and see if it fixes the issue.
@b4b4r07 Maybe we should automatically source lib/theme-and-appearance.zsh
when a theme from omz is used? I feel like simply doing autoload -Uz colors && colors
will also fix it, but I haven't looked into it.
from zplug.
nice:-1
does the trick ! Thanks @NigoroJr
from zplug.
Actually most themes turn out to be very buggy. See for sorin
theme, the prompt is completely messed up...
Did I miss anything ?
EDIT: actually the prompt bug only occurs in git folders, the prompt looks ok in non-git folders
from zplug.
Any idea?
from zplug.
Here is my .zshrc :
###############
# Zplug init
###############
if [[ ! -d ~/.zplug ]]; then
git clone https://github.com/zplug/zplug ~/.zplug
source ~/.zplug/init.zsh && zplug update --self
fi
source ~/.zplug/init.zsh
###############
# PATHS
###############
export PATH=${HOME}/bin:/usr/local/bin:${PATH}
export HOMEBREW_CASK_OPTS="--appdir=/Applications"
export ZSH=$HOME/.zplug/repos/robbyrussell/oh-my-zsh
export EDITOR=atom
###############
# Zplug plugins
###############
autoload colors && colors
setopt prompt_subst
zplug "junegunn/fzf-bin", \
from:gh-r, \
as:command, \
rename-to:fzf, \
use:"*darwin*amd64*"
zplug "plugins/brew", from:oh-my-zsh, nice:10
zplug "plugins/brew-cask", from:oh-my-zsh, nice:10
zplug "plugins/git", from:oh-my-zsh, nice:10
zplug "plugins/osx", from:oh-my-zsh, if:"[[ $OSTYPE == *darwin* ]]"
zplug "plugins/colorize", from:oh-my-zsh
zplug "zsh-users/zsh-completions"
zplug "zsh-users/zsh-history-substring-search"
zplug "zsh-users/zsh-syntax-highlighting", nice:19
# zplug "b4b4r07/enhancd", of:enhancd.sh, nice:15
# zplug "robbyrussell/oh-my-zsh", use:"lib/*.zsh", nice:-1
zplug 'plugins/git', from:oh-my-zsh, nice:10
zplug 'themes/sorin', from:oh-my-zsh, nice:11
zplug check || zplug install
# Then, source packages and add commands to $PATH
zplug load
Uncommenting the OMZ lib* line does not make a difference for this theme.
from zplug.
I cannot reproduce your problem with that either. It's probably something related to your terminal emulator or your environment.
from zplug.
I am on mac (latest 10.11) terminal, using homebrew, on an almost fresh OSX install. No specific customization, besides zplug.
from zplug.
Hmmm, I cannot reproduce that, too.
If thatβs ok with you, please tell us the problem for details with gif animation. (Easy, by using Quicktime Player & this script)
from zplug.
I fixed it !
I have no idea why this caused the problem, but I simply switched the OSX terminal theme back to the Basic
theme, then back to Solarized Dark
, and the problem was gone...
The cursor does not appear behind the prompt arrow anymore. How weird.
from zplug.
Having the same problem with https://github.com/tylerreckart/Odin, sometimes I get the correct prompt and some others I get:
$(_user_host)$fg[magenta]~ $(git_prompt_status)$reset_colorβ
On my .zshrc:
zplug "tylerreckart/Odin/", nice:19
Any solutions?
from zplug.
@Arlefreak
- You need to load
"plugins/git", from:oh-my-zsh
before loading that theme (i.e. with a lowernice
value) because the theme depends on it. - Are you using the latest zplug? c79655e fixes the bug where prompt substitution is not done when loading from cache.
from zplug.
Actually the issue has come back after updating to latest commit zplug update --self
The cursor appears before the prompt :
Here using iTerm2 (latest version, on El Capitan)
from zplug.
@nbara Like before, I can't reproduce your problem (I'm on 10.9.5). I don't have access to an El Capitan right now, so can you try it on other environments to see if it's zplug or your environment that's causing the problem?
from zplug.
Hi @NigoroJr, what other environments are you referring to? I only have one machine to test this on, and it runs on El Capitan.
I am not surprised you are having problems replicating this, for me it was fixed for well over a month, and all of a sudden the bug reappeared...
BTW, I probably should have mentioned that the bug only occurs in some git folders. Non-git folders are fine. And strangely, not all git folders are affected...
from zplug.
I was wondering if you had any other systems/versions of OSX to run on since I can't replicate this on my machine that runs Mavericks. What if you use the default Terminal.app and not iTerm?
the bug only occurs in some git folders
Hmm... that makes me think it's something related to the git plugin but I can't say for sure.
from zplug.
Actually I switched to iTerm a few weeks ago in the hope that it would solve the problem. :)
from zplug.
I see... Do you think you can identify what kind of git folders that happens in?
from zplug.
Related Issues (20)
- Dont prefix $PATH with zplug paths, append $PATH instead
- Unkown error: /usr/bin/env `bash/`: No such file or directory HOT 1
- Help Wanted what is the difference between static and dynamic
- Update zsh-async to 1.8.5 broke slimline on all my accounts HOT 2
- status of project HOT 3
- Error in `source ~/.zplug/init.zsh` HOT 2
- Fresh macos install using brew shows errors HOT 5
- Current status and next approach of zplug HOT 4
- Errors on startup after updating HOT 2
- Weird Error? HOT 1
- ZPlug unable to use the same repo twice (FZF) HOT 5
- Loading unixorn/fzf-zsh-plugin shows error message.
- verbosity: Is zshrc configuration correct HOT 1
- .zplug/bin/install conflict with system /usr/bin/install
- allow zcompdump file location to be customized
- zplug load --verbose prints command not found: perl, grep, printf
- Autocompletion for some plugins fails: `(eval):1: _kubectl: function definition file not found` HOT 2
- custom env ZPLUG_HOME do not affect ZPLUG_REPOS after install by curl HOT 1
- zsh-autosuggestions not working with zplug HOT 1
- Zplug not loading plugins from ~/.oh-my-zsh/custom/plugins
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from zplug.