Pure: Manual install steps don't work

Created on 31 Oct 2019  路  2Comments  路  Source: sindresorhus/pure

General information

  • Pure version: master
  • ZSH version: 5.7.1
  • Terminal program & version: iTerm
  • Operating system: macOS Sierra
  • ZSH framework: None

I have:

  • [x] Tested with another terminal program and can reproduce the issue:
  • [x] Followed the Integration instructions for my framework

Problem description

The instructions seem to be wrong.

Reproduction steps

  1. Try following the instructions for manual installation, then open a new terminal.
  2. You don't see the pure prompt.

My .zshrc:

autoload -U promptinit; promptinit
prompt pure

Notes

As far as I can tell, the third and final command in the manual installation steps (fpath+=("$HOME/.zsh/pure")) only updates the fpath variable locally, in the current terminal session. So I tried inserting this line in my .zshrc instead (before autoload... etc), and this seems to make it work. Not sure if this is the correct approach, but if so, the instructions should be updated to explain that you need to put the fpath+= line in your .zshrc file.

Most helpful comment

The line fpath+=("$HOME/.zsh/pure") is in the same code block as the repository clone instructions, rather that in the following .zshrc code block in Getting started. I made exactly the same mistake as @callumlocke.

It's a minor thing, but moving the fpath+=("$HOME/.zsh/pure") instruction would make it a bit clearer.

All 2 comments

Step 2 of the manual instructions inform you to put the fpath line into your .zshrc. Do you have a proposal for improving the instructions if they're unclear?

The line fpath+=("$HOME/.zsh/pure") is in the same code block as the repository clone instructions, rather that in the following .zshrc code block in Getting started. I made exactly the same mistake as @callumlocke.

It's a minor thing, but moving the fpath+=("$HOME/.zsh/pure") instruction would make it a bit clearer.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

rawaludin picture rawaludin  路  3Comments

parro-it picture parro-it  路  10Comments

harukizaemon picture harukizaemon  路  10Comments

ianchesal picture ianchesal  路  3Comments

victorronnow picture victorronnow  路  7Comments