conatus / mac-ansible

Bootstrap Macs with Ansible
7 stars 1 forks source link

Fix Issue With spaceship-prompt #4

Open conatus opened 5 years ago

conatus commented 5 years ago

Right now spaceship-prompt automated install is disabled. Due to NVM, installing this global package was far harder than it should have been even after a couple of attempts at different techniques.

conatus commented 5 years ago

This manual installation may be easier and ultimately cleaner.

https://github.com/denysdovhan/spaceship-prompt#manual

conatus commented 5 years ago

Another factor is the installation procedure doesn't respect existing content in a .zshrc which is fine because presumably no one expects to run npm install twice like this.

https://github.com/denysdovhan/spaceship-prompt/blob/master/scripts/install.sh#L115-L124 https://github.com/denysdovhan/spaceship-prompt/blob/master/scripts/install.sh#L58-L65