refacto par dossier
This commit is contained in:
parent
ceac695601
commit
b6a1e38dba
1
git/setup.ps1
Normal file
1
git/setup.ps1
Normal file
@ -0,0 +1 @@
|
||||
Copy-Item ./git/.gitconfig ~/.gitconfig
|
@ -18,6 +18,7 @@ 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
|
||||
|
||||
pwsh -c ./setup.ps1
|
||||
pwsh -c ./shell/setup.ps1
|
||||
pwsh -c ./git/setup.ps1
|
||||
pwsh
|
||||
|
@ -1,10 +1,7 @@
|
||||
Set-PSRepository -Name PSGallery -InstallationPolicy Trusted
|
||||
Install-Module -Name Terminal-Icons -Repository PSGallery
|
||||
Install-Module PSReadLine -AllowPrerelease -Force -RequiredVersion 2.2.0-beta1
|
||||
|
||||
|
||||
mkdir -p (Split-Path -Path $PROFILE)
|
||||
Copy-Item powershell_profile.ps1 $PROFILE
|
||||
Copy-Item ./shell/powershell_profile.ps1 $PROFILE
|
||||
mkdir -p ~/.config/ohmyposh
|
||||
Copy-Item posh_config.json ~/.config/ohmyposh/config.json
|
||||
Copy-Item .gitconfig ~/.gitconfig
|
||||
Copy-Item ./shell/posh_config.json ~/.config/ohmyposh/config.json
|
Loading…
Reference in New Issue
Block a user