sh -c "$(curl -fsLS get.chezmoi.io)" -- -b $HOME/.local/bin init --apply https://github.com/tlipoca9/dotfiles.git
sh -c "$(curl -fsLS get.chezmoi.io)" -- -b $HOME/.local/bin init --apply [email protected]:tlipoca9/dotfiles.git
export PROXY_ADDRESS="http://<proxy_address>:<proxy_port>"
export HTTP_PROXY=$PROXY_ADDRESS
export HTTPS_PROXY=$PROXY_ADDRESS
echo "export PROXY_ADDRESS=$PROXY_ADDRESS" >> /etc/bashrc
echo "export HTTP_PROXY=$PROXY_ADDRESS" >> /etc/bashrc
echo "export HTTPS_PROXY=$PROXY_ADDRESS" >> /etc/bashrc
echo "export PROXY_ADDRESS=$PROXY_ADDRESS" >> /etc/zshrc
echo "export HTTP_PROXY=$PROXY_ADDRESS" >> /etc/zshrc
echo "export HTTPS_PROXY=$PROXY_ADDRESS" >> /etc/zshrc
./.scripts/sudoeradd.sh
sudo su <new_user>
sudo cat /etc/shells | grep -E "^$(command -v zsh)" || (sudo echo "$(command -v zsh)" | sudo tee -a /etc/shells)
chsh -s "$(command -v zsh)"
sudo su <new_user>
mkdir -p ~/.ssh
sudo cp /root/.ssh/authorized_keys ~/.ssh/
sudo chmod 644 ~/.ssh/authorized_keys