2021-09-01 17:19:46 +00:00
|
|
|
#!/bin/sh
|
|
|
|
|
2021-09-02 05:08:37 +00:00
|
|
|
export DEBIAN_FRONTEND=noninteractive
|
2021-09-02 05:15:36 +00:00
|
|
|
ln -fs /usr/share/zoneinfo/Indian/Reunion /etc/localtime
|
2021-09-02 05:23:11 +00:00
|
|
|
sudo apt-get install -y tzdata
|
2021-09-02 05:08:37 +00:00
|
|
|
sudo dpkg-reconfigure --frontend noninteractive tzdata
|
|
|
|
|
2021-09-01 17:19:46 +00:00
|
|
|
sudo apt-get update
|
|
|
|
sudo apt-get install -y wget apt-transport-https software-properties-common
|
|
|
|
wget -q https://packages.microsoft.com/config/ubuntu/20.04/packages-microsoft-prod.deb
|
|
|
|
sudo dpkg -i packages-microsoft-prod.deb
|
|
|
|
rm packages-microsoft-prod.deb
|
|
|
|
sudo apt-get update
|
|
|
|
sudo add-apt-repository universe
|
|
|
|
sudo apt-get install -y powershell
|
|
|
|
chsh -s /usr/bin/pwsh
|
|
|
|
|
|
|
|
sudo wget https://github.com/JanDeDobbeleer/oh-my-posh/releases/latest/download/posh-linux-amd64 -O /usr/local/bin/oh-my-posh
|
|
|
|
sudo chmod +x /usr/local/bin/oh-my-posh
|
|
|
|
|
2021-09-02 08:33:17 +00:00
|
|
|
pwsh -c ./shell/setup.ps1
|
|
|
|
pwsh -c ./git/setup.ps1
|
2021-09-02 08:48:23 +00:00
|
|
|
pwsh -c ./ssh/setup.ps1
|
2021-09-01 17:32:52 +00:00
|
|
|
pwsh
|
|
|
|
|