# Setup package server sudo sed -i -e 's|http://archive.ubuntu.com|http://jp.archive.ubuntu.com|g' /etc/apt/sources.list # Setup ask process restart echo "\$nrconf{restart} = 'l';" | sudo tee /etc/needrestart/conf.d/50local.conf # Update packages sudo apt update -y sudo apt upgrade -y # Install qemu guest sudo apt install -y qemu-guest-agent # Install fish sudo apt-add-repository -y ppa:fish-shell/release-3 sudo apt install -y fish sudo chsh -s /usr/bin/fish fish echo 'set -g theme_date_format "+%Y-%m-%d %H:%M:%S" set -g fish_prompt_pwd_dir_length 4 ' > ~/.config/fish/config.fish curl -sL https://raw.githubusercontent.com/jorgebucaran/fisher/main/functions/fisher.fish | source && fisher install jorgebucaran/fisher fisher install oh-my-fish/theme-bobthefish # Install btop sudo apt install -y snapd sudo snap install btop # Install Node.js curl https://get.volta.sh | bash ~/.volta/bin/volta install node # Setup byobu byobu byobu-enable echo "set -g default-shell /usr/bin/fish" >> ~/.byobu/.tmux.conf echo "set -g default-command /usr/bin/fish" >> ~/.byobu/.tmux.conf # Setup timezone sudo timedatectl set-timezone Asia/Tokyo echo "" echo "###########################################" echo "# Please reboot the machine `sudo reboot` #" echo "###########################################"