ccbeea1e3d705f3b6155502a1238538838d6927a

Author
Pavle Portic <git@theedgeofrage.com>
Committer
Pavle Portic <git@theedgeofrage.com>
Date

Message

Fix ohmyzsh var in init script

Diff

 1diff --git a/init.sh b/init.sh
 2index b6a8eae1c952eef79bf2e243ed3638a829673167..1d8fb386752b161c4de7978f97c5811d0754b958 100755
 3--- a/init.sh
 4+++ b/init.sh
 5@@ -11,8 +11,9 @@ git clone https://github.com/nikita-skobov/create-bash-script ~/.local/share/cre
 6 git clone https://gitea.theedgeofrage.com/TheEdgeOfRage/rpn ~/.local/share/rpn
 7 git clone https://github.com/TheEdgeOfRage/bumblebee-status ~/.local/share/bumblebee-status
 8 
 9-local ohmyzsh_custom="~/.config/zsh/oh-my-zsh/custom"
10-git clone https://github.com/TheEdgeOfRage/ohmyzsh ~/.config/zsh/oh-my-zsh
11+ohmyzsh_dir="~/.config/zsh/oh-my-zsh"
12+ohmyzsh_custom="${ohmyzsh_dir}/custom"
13+git clone https://github.com/TheEdgeOfRage/ohmyzsh ${ohmyzsh_dir}
14 git clone https://github.com/MichaelAquilina/zsh-you-should-use ${ohmyzsh_custom}/plugins/you-should-use
15 git clone https://github.com/TheEdgeOfRage/zsh-autoswitch-virtualenv ${ohmyzsh_custom}/plugins/zsh-autoswitch-virtualenv
16 git clone https://github.com/zsh-users/zsh-autosuggestions ${ohmyzsh_custom}/plugins/zsh-autosuggestions