1
0
Fork 0
mirror of synced 2024-11-14 12:09:03 -05:00
Commit graph

2 commits

Author SHA1 Message Date
Jorrit Visser
e118bab814
Style fixes, git clone no longer done in script
* No longer close every line with `;`
* Reduce amount of variables by doing the magic inside `[ ]`
* Variables all in lowercase since all created inside subshell
* Attempt to install `zsh` via `homebrew` if zsh doesn't exist on the system
* Fix some typos
2017-05-29 17:29:16 +02:00
Jorrit Visser
f818b1c787 bringup of install script
Basically what it says. This is an install script that can get called via shell (and we can curl it!).
A few niceties:

* Error handling for various problems
* Checks if other frameworks are installed, and backs them up
* Changes shell to zsh, without sudo

Its the oh-my-zsh installer, but very heavily modified. I wrote my own installer at first, but decided that reinventing the wheel was stupid.

There is one modification: Zim's template files are no longer prepended to .zshrc and .zlogin, but instead, .zshrc and .zlogin are backed up. During the writing and testing of the script I've had the prepending command mess up and paste the template lines in the middle of other lines in my .zshrc, multiple times. You simply don't want to risk that.
2017-05-20 17:29:11 +02:00