Collapse manual installation in README.md

so the text is more concise and friendlier for unexperienced users.
This commit is contained in:
Eric Nielsen 2021-07-01 17:58:49 -05:00
parent 5db2b66052
commit 9a0f336ac1
No known key found for this signature in database
GPG Key ID: 47D1DBFA0765A1FB
1 changed files with 17 additions and 14 deletions

View File

@ -15,7 +15,7 @@ Zim is very easy to customize, and comes with a rich set of modules and features
What does Zim offer? What does Zim offer?
----------------- -----------------
If you're here, it means you want to see the cool shit Zim can do. Check out the [available modules]! If you're here, it means you want to see the cool shit Zim can do. Check out the [available modules][modules]!
Below is a brief showcase of Zim's features. Below is a brief showcase of Zim's features.
@ -24,7 +24,7 @@ For a speed comparison between Zim and other frameworks, see [this wiki entry][b
### Themes ### Themes
To preview some of the available themes, check the [themes page]. To preview some of the available themes, check the [themes page][themes].
### Fish-shell history navigation ### Fish-shell history navigation
![history-substring-search] ![history-substring-search]
@ -33,7 +33,7 @@ To preview some of the available themes, check the [themes page].
![syntax-highlighting] ![syntax-highlighting]
### And much more! ### And much more!
Zim has many modules! Enable as many or as few as you'd like. Zim has many [modules available][modules]. Enable as many or as few as you'd like.
Installation Installation
------------ ------------
@ -47,11 +47,12 @@ Installing Zim is easy:
wget -nv -O - https://raw.githubusercontent.com/zimfw/install/master/install.zsh | zsh wget -nv -O - https://raw.githubusercontent.com/zimfw/install/master/install.zsh | zsh
Open a new terminal and you're done! Enjoy your Zsh IMproved! Take some time to Open a new terminal and you're done. Enjoy your Zsh IMproved! Take some time to
read about the [available modules] and tweak your `~/.zshrc` file. tweak your `~/.zshrc` file, and to also check the available [themes] and [modules]
you can add to your `~/.zimrc`.
If you have a different shell framework installed (like oh-my-zsh or prezto), <details>
*uninstall those first to prevent conflicts*. <summary>Prefer to install manually?</summary>
### Manual installation ### Manual installation
@ -59,11 +60,11 @@ If you have a different shell framework installed (like oh-my-zsh or prezto),
chsh -s $(which zsh) chsh -s $(which zsh)
2. Add the lines in the following templates to the respective dot files: 2. Prepend the lines in the following templates to the respective dot files:
* [~/.zshenv](https://github.com/zimfw/install/blob/master/src/templates/zshenv) * [~/.zshenv](https://raw.githubusercontent.com/zimfw/install/master/src/templates/zshenv)
* [~/.zshrc](https://github.com/zimfw/install/blob/master/src/templates/zshrc) * [~/.zshrc](https://raw.githubusercontent.com/zimfw/install/master/src/templates/zshrc)
* [~/.zlogin](https://github.com/zimfw/install/blob/master/src/templates/zlogin) * [~/.zlogin](https://raw.githubusercontent.com/zimfw/install/master/src/templates/zlogin)
* [~/.zimrc](https://github.com/zimfw/install/blob/master/src/templates/zimrc) * [~/.zimrc](https://raw.githubusercontent.com/zimfw/install/master/src/templates/zimrc)
3. Copy https://github.com/zimfw/zimfw/releases/latest/download/zimfw.zsh to 3. Copy https://github.com/zimfw/zimfw/releases/latest/download/zimfw.zsh to
`~/.zim/zimfw.zsh`. `~/.zim/zimfw.zsh`.
@ -72,6 +73,8 @@ If you have a different shell framework installed (like oh-my-zsh or prezto),
zsh ~/.zim/zimfw.zsh install zsh ~/.zim/zimfw.zsh install
</details>
Usage Usage
----- -----
@ -138,5 +141,5 @@ remove the initialization lines from your `~/.zshenv`, `~/.zshrc` and `~/.zlogin
[history-substring-search]: https://zimfw.github.io/images/zim_history-substring-search.gif [history-substring-search]: https://zimfw.github.io/images/zim_history-substring-search.gif
[syntax-highlighting]: https://zimfw.github.io/images/zim_syntax-highlighting.gif [syntax-highlighting]: https://zimfw.github.io/images/zim_syntax-highlighting.gif
[blazing speed]: https://github.com/zimfw/zimfw/wiki/Speed [blazing speed]: https://github.com/zimfw/zimfw/wiki/Speed
[available modules]: https://zimfw.sh/docs/modules/ [modules]: https://zimfw.sh/docs/modules/
[themes page]: https://zimfw.sh/docs/themes/ [themes]: https://zimfw.sh/docs/themes/