Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ZSH OSX - bashcompinit:134: parse error near `|' #34

Closed
theskillwithin opened this issue May 17, 2016 · 5 comments
Closed

ZSH OSX - bashcompinit:134: parse error near `|' #34

theskillwithin opened this issue May 17, 2016 · 5 comments

Comments

@theskillwithin
Copy link

bashcompinit:134: parse error near `|'
gh_complete.sh:8: command not found: complete

on iterm - oh my zsh - osx

.zshrc

autoload bashcompinit
bashcompinit
source gh_complete.sh

I also tried ~/gh-complete.sh

@donnemartin
Copy link
Owner

donnemartin commented May 18, 2016

@theskillwithin it seems like you might have already seen #2 which sounds similar to what @Karunamon and @Kmaschta were discussing?

I'm not a zsh user myself, perhaps someone who is might be able to tell what's wrong.

@theskillwithin
Copy link
Author

ya I tried to look through the issues and the readme before attempting install.

Maybe we can reach out to them here:

https://github.com/robbyrussell/oh-my-zsh

@Karunamon
Copy link
Contributor

I wonder if this has something to do with zsh version... I'm also using oh-my-zsh, fully updated.

I've got zsh 5.0.8 (x86_64-apple-darwin15.0) from --version. Are you using a newer one?

@donnemartin
Copy link
Owner

@theskillwithin are you still running into issues with this? There was a question about zsh version, did that help?

@aadfco
Copy link

aadfco commented May 21, 2019

If anyone is wondering on how to get rid of parse error, you need to add wp-cli to your plugins in your .zshrc profile. This is what mine looks like:
plugins=( git brew common-aliases node npm nvm rand-quote sudo yarn z colored-man-pages colorize cp wp-cli zsh-syntax-highlighting zsh-autosuggestions )

Then run source ~/.zshrc

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants