Fix missing chsh and git submodules
This commit is contained in:
parent
154eb3d475
commit
aa7d52cef3
1 changed files with 2 additions and 1 deletions
|
@ -14,7 +14,7 @@ command_exists() { type "$1" &>/dev/null; }
|
||||||
if command_exists "apt-get"; then
|
if command_exists "apt-get"; then
|
||||||
sudo apt-get install zsh -y
|
sudo apt-get install zsh -y
|
||||||
elif command_exists "yum"; then
|
elif command_exists "yum"; then
|
||||||
sudo yum install zsh -y
|
sudo yum install zsh util-linux-user -y
|
||||||
elif command_exists "pacman"; then
|
elif command_exists "pacman"; then
|
||||||
sudo pacman -S zsh --noconfirm --needed
|
sudo pacman -S zsh --noconfirm --needed
|
||||||
elif command_exists "zypper"; then
|
elif command_exists "zypper"; then
|
||||||
|
@ -30,6 +30,7 @@ else
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
git submodule update --init --recursive
|
||||||
cp -r zsh-files/.oh-my-zsh ~/
|
cp -r zsh-files/.oh-my-zsh ~/
|
||||||
cp -r zsh-files/.zkbd ~/
|
cp -r zsh-files/.zkbd ~/
|
||||||
cp zsh-files/.zshrc ~/
|
cp zsh-files/.zshrc ~/
|
||||||
|
|
Loading…
Reference in a new issue