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

antigen-bundles broken with EXTENDED_GLOB option set #456

Closed
jyaworski opened this issue Mar 22, 2017 · 5 comments
Closed

antigen-bundles broken with EXTENDED_GLOB option set #456

jyaworski opened this issue Mar 22, 2017 · 5 comments
Assignees
Labels
Milestone

Comments

@jyaworski
Copy link

Upon trying to use antigen-bundles, I get:

antigen-bundles:6: bad pattern: #*

@desyncr
Copy link
Member

desyncr commented Mar 22, 2017

Related to this.

Can you share your antigen configuration and zsh version you're using.

@desyncr desyncr self-assigned this Mar 22, 2017
@desyncr desyncr added the Bug label Mar 22, 2017
@desyncr desyncr added this to the 2.0.0 milestone Mar 22, 2017
@jyaworski
Copy link
Author

AFAIK, my antigen configuration is stock. The relevant lines in my .zshrc are:

setopt nonomatch
setopt re_match_pcre
setopt EXTENDED_GLOB
source $HOME/antigen/antigen.zsh
antigen use oh-my-zsh

antigen bundles <<EOBUNDLES
RobSis/zsh-reentry-hook
the8/terminal-app.zsh
unixorn/tumult.plugin.zsh
ruby
gem
ssh-agent
battery
chruby
rake-fast
osx
rust
brew
cargo
cabal
vagrant
tmux
kitchen
colored-man-pages
Tarrasch/zsh-autoenv
extract
svn
emoji
gitfast
git-extras
aws
gpg-agent
jsontools
golang
mosh
sudo
xcode
python
pyenv
vundle
gnu-utils
sublime
bundler
zsh-users/zsh-autosuggestions
zsh-users/zsh-completions

zsh-users/zsh-syntax-highlighting

zsh-users/zsh-history-substring-search

tylerreckart/odin
wesbos/Cobalt2-iterm.git
EOBUNDLES

if [[ "$TERM_PROGRAM" == "iTerm.app" ]]; then
  antigen theme wesbos/Cobalt2-iterm.git cobalt2.zsh-theme
else
  antigen theme tylerreckart/odin odin.zsh-theme
fi
antigen apply
 ✝  ~  zsh --version
zsh 5.3.1 (x86_64-apple-darwin16.5.0)

@desyncr
Copy link
Member

desyncr commented Mar 22, 2017

It's the EXTENDED_GLOB configuration. As a workaround do unsetopt EXTENDED_GLOB before using antigen-bundles and reset it after.

I'm gonna take a further look tonight to make it compatible with that option.

Thanks for reporting!

@jyaworski
Copy link
Author

Yeah, that worked.

@desyncr desyncr changed the title antigen-bundles is broken in develop branch antigen-bundles broken with EXTENDED_GLOB option set Mar 22, 2017
@desyncr
Copy link
Member

desyncr commented Mar 23, 2017

Should be fixed in develop!

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

No branches or pull requests

2 participants