From 1fd896162f6c91ed1d6e677e67f5c94ba17335c9 Mon Sep 17 00:00:00 2001 From: Eric Nielsen Date: Thu, 11 Jun 2020 21:13:55 -0500 Subject: [PATCH] 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 --- README.md | 20 ++++++++------------ 1 file changed, 8 insertions(+), 12 deletions(-) diff --git a/README.md b/README.md index 680082e..c5b1bb5 100644 --- a/README.md +++ b/README.md @@ -55,26 +55,22 @@ If you have a different shell framework installed (like oh-my-zsh or prezto), ### 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: - - 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: +2. Add the lines in the following templates to the respective dot files: * [~/.zshenv](https://github.com/zimfw/install/blob/master/src/templates/zshenv) * [~/.zshrc](https://github.com/zimfw/install/blob/master/src/templates/zshrc) * [~/.zlogin](https://github.com/zimfw/install/blob/master/src/templates/zlogin) * [~/.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 -----