corrections
This commit is contained in:
parent
7378118bff
commit
4ad997bf56
1
init.sh
1
init.sh
@ -14,5 +14,6 @@ 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 -s setup.ps1
|
||||
pwsh
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
oh-my-posh --init --shell pwsh --config ~/.config/ohmyposh/config.json | Invoke-Expression
|
||||
Import-Module Terminal-Icons
|
||||
Import-Module PSReadLine -Force
|
||||
Import-Module PSReadLine
|
||||
Set-PSReadLineOption -PredictionSource History
|
||||
Set-PSReadLineOption -PredictionViewStyle ListView
|
||||
Set-PSReadLineOption -EditMode Windows
|
||||
|
@ -6,5 +6,4 @@ Install-Module PSReadLine -AllowPrerelease -Force -RequiredVersion 2.2.0-beta1
|
||||
mkdir -p (Split-Path -Path $PROFILE)
|
||||
Copy-Item powershell_profile.ps1 $PROFILE
|
||||
mkdir -p ~/.config/ohmyposh
|
||||
Copy-Item posh_config.json ~/.config/ohmyposh/config.json
|
||||
. $PROFILE
|
||||
Copy-Item posh_config.json ~/.config/ohmyposh/config.json
|
Loading…
Reference in New Issue
Block a user