Document my personal experience on setting up ubuntu.
curl https://getmic.ro | bash ; sudo ./micro /etc/sudoers
Add <USERNAME> ALL=(ALL) NOPASSWD:ALL
to set no passwd sudo
make micro globally accessable
sudo ln -s ${PWD}/micro /usr/bin
git clone https://github.com/Gray-Stone/CuiConfig.git
Recomand clone into home dir
use script to do the following command in one shot:
./CuiConfig/InstallUpToZSH.sh
# Install dependencies for to following installs.
sudo apt update; sudo apt -y install git; sudo apt -y install curl;
#Install zsh and oh-my-zsh
sudo apt-get -y install zsh; sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)" "" --unattended;
#install plugins
git clone https://github.com/zsh-users/zsh-syntax-highlighting.git ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-syntax-highlighting
git clone https://github.com/zsh-users/zsh-autosuggestions ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-autosuggestions
chsh -s $(which zsh)
cp ~/CuiConfig/.zshrc ~/.zshrc
./CuiConfig/InstallSyncthing.sh
Might also need this bit to make syncthing work sudo apt-get install apt-transport-https"
Following command will make syncthing run in systemd as current user.
systemctl enable syncthing@${USER}.service;\
systemctl start syncthing@${USER}.service