forked from zotan/os-bootstrap-core
Fixes
This commit is contained in:
parent
dea32fe285
commit
0df83365bf
2
archx.sh
2
archx.sh
|
@ -470,7 +470,7 @@ postinstall_cli(){
|
|||
|
||||
chsh -s /bin/zsh $user
|
||||
chsh -s /bin/zsh root
|
||||
wget share.zotan.services/prezto.sh -O /tmp/prezto.sh
|
||||
wget ztn.sh/prezto.sh -O /tmp/prezto.sh
|
||||
sudo -u $user zsh /tmp/prezto.sh
|
||||
zsh /tmp/prezto.sh
|
||||
|
||||
|
|
4
macx.sh
4
macx.sh
|
@ -62,7 +62,7 @@ curl -L ztn.sh/macx-resources/zshrc >> ~/.zshrc
|
|||
|
||||
echo "Installing prezto"
|
||||
rm ~/.zprofile
|
||||
curl -L share.zotan.services/prezto.sh | zsh
|
||||
curl -L ztn.sh/prezto.sh | zsh
|
||||
(echo; echo 'eval "$(/opt/homebrew/bin/brew shellenv)"') >> ~/.zprofile
|
||||
|
||||
####
|
||||
|
@ -76,4 +76,4 @@ echo
|
|||
echo "Please download and install them manually."
|
||||
echo
|
||||
echo "After that, please reboot to make sure everything is applied."
|
||||
echo
|
||||
echo
|
||||
|
|
6
rocky.sh
6
rocky.sh
|
@ -1,10 +1,12 @@
|
|||
#!/bin/bash
|
||||
|
||||
sudo dnf install epel-release wget git nano zsh -y
|
||||
sudo dnf install epel-release wget git nano zsh sqlite -y
|
||||
sudo groupadd sudo
|
||||
sudo bash -c 'echo "%sudo ALL=(ALL) NOPASSWD: ALL" >> /etc/sudoers'
|
||||
sudo useradd -md /home/zotan -s /bin/zsh -UG sudo zotan
|
||||
sudo -u zotan mkdir /home/zotan/.ssh
|
||||
sudo -u zotan wget -O /home/zotan/.ssh/authorized_keys share.zotan.services/authorized_keys
|
||||
sudo -u zotan bash -c 'curl ztn.sh/prezto.sh -L | zsh'
|
||||
sudo -iu zotan
|
||||
|
||||
# Don't automatically clear the terminal on logout
|
||||
sudo sed -i '/^\s*clear\s*$/d' /etc/zlogout
|
||||
|
|
Loading…
Reference in New Issue