Integrate ZSH to user flavour
This commit is contained in:
parent
c52b6171ea
commit
f7980310dc
@ -24,5 +24,14 @@ else
|
||||
fi
|
||||
fi
|
||||
|
||||
echo -n " Set up zsh with ohmyzsh for $name? (Y/n) "
|
||||
read answer
|
||||
if [ "$answer" == "y" ] || [ "$answer" == "Y" ]; then
|
||||
pacstrap /mnt zsh
|
||||
pacman -Sy --noconfirm git
|
||||
git clone --depth=1 https://github.com/robbyrussell/oh-my-zsh.git /mnt/home/$name/
|
||||
wget https://git.darknebu.la/maride/config/raw/master/zshrc -O /mnt/home/$name/.zshrc
|
||||
fi
|
||||
|
||||
amf_return=0
|
||||
fi
|
||||
|
@ -1,8 +0,0 @@
|
||||
#!/bin/bash
|
||||
|
||||
echo "~> Installing zsh with ohmyz.sh mod"
|
||||
|
||||
pacstrap /mnt zsh
|
||||
pacman -S --noconfirm git
|
||||
git clone --depth=1 https://github.com/robbyrussell/oh-my-zsh.git /mnt/home/*/
|
||||
wget https://git.darknebu.la/maride/config/raw/master/zshrc -O /mnt/home/*/.zshrc
|
Loading…
Reference in New Issue
Block a user