diff options
| author | Kai <[email protected]> | 2021-07-10 16:25:35 -0700 | 
|---|---|---|
| committer | GitHub <[email protected]> | 2021-07-10 19:25:35 -0400 | 
| commit | b68950978aa6dc7b4bbd0e736f95d3e9f6b93615 (patch) | |
| tree | 9b5598204a17b72fdd2d2c6f1481728124799278 /utils | |
| parent | 93379a2977ba10695cc6d0aac3ca4ce9111fa31e (diff) | |
adding branch support (#852)
Diffstat (limited to 'utils')
| -rwxr-xr-x | utils/installer/install.sh | 5 | 
1 files changed, 3 insertions, 2 deletions
| diff --git a/utils/installer/install.sh b/utils/installer/install.sh index dedd1dc8..8d87260e 100755 --- a/utils/installer/install.sh +++ b/utils/installer/install.sh @@ -1,5 +1,6 @@  #!/bin/sh - +#Set Variable to master is not set differently +LVBRANCH="${LVBRANCH:-master}"  set -o nounset # error when referencing undefined variable  set -o errexit # exit when command fails @@ -100,7 +101,7 @@ installpacker() {  cloneconfig() {      echo "Cloning LunarVim configuration" -    git clone --branch master https://github.com/ChristianChiarulli/lunarvim.git ~/.config/nvim +    git clone --branch $LVBRANCH https://github.com/ChristianChiarulli/lunarvim.git ~/.config/nvim      cp $HOME/.config/nvim/utils/installer/lv-config.example-no-ts.lua $HOME/.config/nvim/lv-config.lua      nvim --headless \          +'autocmd User PackerComplete sleep 100m | qall' \ | 
