1
0
Fork 0
mirror of synced 2024-11-26 17:25:35 -05:00

Update manual install steps

to be simpler, and to teach users how to do it from outside Zsh.
Users might use provioning scripts to manage their dotfiles, and knowing
how to install from outside Zsh might be helpful in some cases.
See #400.

Closes #402
This commit is contained in:
Eric Nielsen 2020-06-11 21:13:55 -05:00
parent 0941bb3956
commit 1fd896162f
No known key found for this signature in database
GPG key ID: 47D1DBFA0765A1FB

View file

@ -55,26 +55,22 @@ If you have a different shell framework installed (like oh-my-zsh or prezto),
### Manual installation ### Manual installation
1. Start a Zsh shell 1. Set Zsh as the default shell:
zsh chsh -s $(which zsh)
2. Set Zsh as the default shell: 2. Add the lines in the following templates to the respective dot files:
chsh -s =zsh
3. Copy https://github.com/zimfw/zimfw/releases/latest/download/zimfw.zsh to
`~/.zim/zimfw.zsh`.
4. Add the lines in the following templates to the respective dot files:
* [~/.zshenv](https://github.com/zimfw/install/blob/master/src/templates/zshenv) * [~/.zshenv](https://github.com/zimfw/install/blob/master/src/templates/zshenv)
* [~/.zshrc](https://github.com/zimfw/install/blob/master/src/templates/zshrc) * [~/.zshrc](https://github.com/zimfw/install/blob/master/src/templates/zshrc)
* [~/.zlogin](https://github.com/zimfw/install/blob/master/src/templates/zlogin) * [~/.zlogin](https://github.com/zimfw/install/blob/master/src/templates/zlogin)
* [~/.zimrc](https://github.com/zimfw/install/blob/master/src/templates/zimrc) * [~/.zimrc](https://github.com/zimfw/install/blob/master/src/templates/zimrc)
5. Install the modules defined in `~/.zimrc` and build the initialization scripts: 3. Copy https://github.com/zimfw/zimfw/releases/latest/download/zimfw.zsh to
`~/.zim/zimfw.zsh`.
source ~/.zim/zimfw.zsh install 4. Install the modules defined in `~/.zimrc` and build the initialization scripts:
zsh ~/.zim/zimfw.zsh install
Usage Usage
----- -----