sorin-ionescu / prezto

The configuration framework for Zsh
MIT License
13.98k stars 4.49k forks source link

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

Open slferris opened 9 months ago

slferris commented 9 months ago

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

slferris commented 9 months ago

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

slferris commented 9 months ago

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