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

prezto fails with errors at line 172 and 199 in zsh.init #2072

Open
slferris opened this issue Jan 5, 2024 · 2 comments
Open

prezto fails with errors at line 172 and 199 in zsh.init #2072

slferris opened this issue Jan 5, 2024 · 2 comments

Comments

@slferris
Copy link

slferris commented Jan 5, 2024

Description

prezto fails with errors at lines 172 and 199 in init.zsh (see attached file)

Expected behavior

prezto not to fail

Actual behavior

Failed with error messages problems at lines 172 and 199 of ~/.zprezto/zsh.int

Steps to Reproduce

  1. open iTerm2
  2. view errors
  3. [and so on...]

Versions

  • Prezto commit: current version
  • ZSH version: 5.9
  • OS information: macOS 14.2.1
@slferris
Copy link
Author

slferris commented Jan 5, 2024

Having trouble downloading files. Here's another try.
init.zsh.zip
zpreztorc.zip

@slferris
Copy link
Author

slferris commented Jan 5, 2024

The actual error message is: /Users/stephenferris/.zprezto/init.zsh:source:172: no such file or directory: /Users/stephenferris/.zpreztorc
/Users/stephenferris/.zprezto/init.zsh:source:199: no such file or directory: /Users/stephenferris/.zprezto/init.zsh

Line 172 in init.zsh is included in 3rd line if statement

Source the Prezto configuration file.

if [[ -s "${ZDOTDIR:-$HOME}/.zpreztorc" ]]; then
source "${ZDOTDIR:-$HOME}/.zpreztorc"

line 199 is:
source "${ZDOTDIR:-$HOME}/.zprezto/init.zsh"
something I added when ln command didn't work per on-line prezto instructions
fi

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