Skip to content

Commit

Permalink
Fix pure prompt installation not working on M1 MacBook
Browse files Browse the repository at this point in the history
Install through Homebrew instead

See sindresorhus/pure#584
  • Loading branch information
kallgren committed Oct 25, 2023
1 parent f79caaa commit cf71348
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .zshrc
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,8 @@ alias gba='git branch -a' # Use 'git remote prune origin' to remove local branch

# ================================== PROMPT ================================== "

fpath+=("$(brew --prefix)/share/zsh/site-functions") # Needed since using ZSH shipped with macOS

autoload -U promptinit; promptinit
prompt pure

Expand Down
1 change: 1 addition & 0 deletions Brewfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
tap "homebrew/bundle"
brew "mas"
brew "pure"
brew "tmux"
cask "bettertouchtool"
cask "discord"
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
2. [Monaco Nerd Font](https://github.com/taohex/font/blob/master/Monaco%20for%20Powerline%20Nerd%20Font%20Complete.otf)
3. [Homebrew](https://brew.sh/)
4. [Oh My ZSH!](https://ohmyz.sh/)
5. [Pure](https://github.com/sindresorhus/pure)
5. `brew install pure` ([link](https://github.com/sindresorhus/pure))
6. `brew install vim` (Apple's shipped `vim` version may not have the `termguicolors` feature enabled)
7. `brew install tmux`
8. `git clone https://github.com/tmux-plugins/tpm ~/.tmux/plugins/tpm`
Expand Down

0 comments on commit cf71348

Please sign in to comment.