forked from zotan/os-bootstrap-core
Merge pull request 'dev' (#1) from zotan/os-install-scripts:dev into dev
Reviewed-on: #1
This commit is contained in:
commit
bc657284a6
2
archx.sh
2
archx.sh
|
@ -472,7 +472,7 @@ postinstall_cli(){
|
||||||
|
|
||||||
chsh -s /bin/zsh $user
|
chsh -s /bin/zsh $user
|
||||||
chsh -s /bin/zsh root
|
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
|
sudo -u $user zsh /tmp/prezto.sh
|
||||||
zsh /tmp/prezto.sh
|
zsh /tmp/prezto.sh
|
||||||
|
|
||||||
|
|
|
@ -80,6 +80,7 @@ cask "topnotch"
|
||||||
cask "bartender"
|
cask "bartender"
|
||||||
cask "rectangle"
|
cask "rectangle"
|
||||||
cask "sublime-text"
|
cask "sublime-text"
|
||||||
|
cask "sublime-merge"
|
||||||
cask "google-chrome"
|
cask "google-chrome"
|
||||||
|
|
||||||
## messengers
|
## messengers
|
||||||
|
@ -100,6 +101,7 @@ cask "transmit"
|
||||||
cask "gpg-suite"
|
cask "gpg-suite"
|
||||||
cask "tor-browser"
|
cask "tor-browser"
|
||||||
cask "balenaetcher"
|
cask "balenaetcher"
|
||||||
|
cask "monero-wallet"
|
||||||
|
|
||||||
## development
|
## development
|
||||||
cask "hex-fiend"
|
cask "hex-fiend"
|
||||||
|
@ -153,6 +155,10 @@ cask "telegram-desktop"
|
||||||
## cli so we can actually manage these
|
## cli so we can actually manage these
|
||||||
brew "mas"
|
brew "mas"
|
||||||
|
|
||||||
|
## Development
|
||||||
|
mas "Xcode", id: 497799835
|
||||||
|
mas "Apple Configurator", id: 1037126344
|
||||||
|
|
||||||
## iLife
|
## iLife
|
||||||
mas "Keynote", id: 409183694
|
mas "Keynote", id: 409183694
|
||||||
mas "Numbers", id: 409203825
|
mas "Numbers", id: 409203825
|
||||||
|
@ -161,4 +167,4 @@ mas "Pages", id: 409201541
|
||||||
## Other
|
## Other
|
||||||
mas "Amphetamine", id: 937984704
|
mas "Amphetamine", id: 937984704
|
||||||
mas "Navigator", id: 1590354537
|
mas "Navigator", id: 1590354537
|
||||||
mas "Reeder", id: 1529448980
|
mas "Reeder", id: 1529448980
|
||||||
|
|
4
macx.sh
4
macx.sh
|
@ -62,7 +62,7 @@ curl -L ztn.sh/macx-resources/zshrc >> ~/.zshrc
|
||||||
|
|
||||||
echo "Installing prezto"
|
echo "Installing prezto"
|
||||||
rm ~/.zprofile
|
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
|
(echo; echo 'eval "$(/opt/homebrew/bin/brew shellenv)"') >> ~/.zprofile
|
||||||
|
|
||||||
####
|
####
|
||||||
|
@ -76,4 +76,4 @@ echo
|
||||||
echo "Please download and install them manually."
|
echo "Please download and install them manually."
|
||||||
echo
|
echo
|
||||||
echo "After that, please reboot to make sure everything is applied."
|
echo "After that, please reboot to make sure everything is applied."
|
||||||
echo
|
echo
|
||||||
|
|
12
rocky.sh
Normal file
12
rocky.sh
Normal file
|
@ -0,0 +1,12 @@
|
||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
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'
|
||||||
|
|
||||||
|
# Don't automatically clear the terminal on logout
|
||||||
|
sudo sed -i '/^\s*clear\s*$/d' /etc/zlogout
|
Loading…
Reference in a new issue