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 can't load git plugin correctly. #719

Open
dominikheinz opened this issue Nov 8, 2020 · 0 comments
Open

Antigen can't load git plugin correctly. #719

dominikheinz opened this issue Nov 8, 2020 · 0 comments

Comments

@dominikheinz
Copy link

dominikheinz commented Nov 8, 2020

Description

Loading the git plugin with antigen from my zshrc gives the following error prompt: zsh: command not found: git_prompt_info.

Steps to reproduce

Minimal steps to reproduce this behavior. Example:

1 - Install zsh and antigen
2 - Use `antigen bundle git` in the zshrc to load/install the plugin, followed by the `antigen apply`
3 - Source the zshrc.
4 - Observer the error in the prompt: `zsh: command not found: git_prompt_info`

Expected behavior:

- The git plugin would be loaded normally

Software version

Configuration

  • gist of .antigenrc:
    I don't have one I think? I just specified all the info in the .zshrc
  • gist of `.zshrc:
# Setup environment variables
export EDITOR=nano
export HISTFILE=$HOME/.config/zsh/.zhistory
export ADOTDIR=$HOME/.config/antigen/

# Setup aliases
alias ll="ls -lha"

# Source antigen
source $ADOTDIR/antigen.zsh

# Setup options to parse prompt colors
autoload -U colors && colors
setopt promptsubst

# Load oh-my-zsh lib
antigen use oh-my-zsh

# Load plugins
antigen bundle command-not-found
antigen bundle git
antigen bundle pip
antigen bundle zsh-users/zsh-autosuggestions
antigen bundle zsh-users/zsh-completions
antigen bundle zsh-users/zsh-syntax-highlighting

# Load themes
#antigen theme robbyrussell

# Apply changes
antigen apply

More information

Note: My zshrc is in a custom location (/home/user/.config/zsh/)
I used to only load the git plugin with oh-my-zsh just like this, and I never had this problem. However when loading the same plugin via antigen I am prompted this error.

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

No branches or pull requests

1 participant