sorin-ionescu / prezto

The configuration framework for Zsh

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

slferris opened this issue · comments

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

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

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