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 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
|
sudo chmod +x /usr/local/bin/oh-my-posh
|
||||||
|
|
||||||
|
pwsh -s setup.ps1
|
||||||
pwsh
|
pwsh
|
||||||
|
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
oh-my-posh --init --shell pwsh --config ~/.config/ohmyposh/config.json | Invoke-Expression
|
oh-my-posh --init --shell pwsh --config ~/.config/ohmyposh/config.json | Invoke-Expression
|
||||||
Import-Module Terminal-Icons
|
Import-Module Terminal-Icons
|
||||||
Import-Module PSReadLine -Force
|
Import-Module PSReadLine
|
||||||
Set-PSReadLineOption -PredictionSource History
|
Set-PSReadLineOption -PredictionSource History
|
||||||
Set-PSReadLineOption -PredictionViewStyle ListView
|
Set-PSReadLineOption -PredictionViewStyle ListView
|
||||||
Set-PSReadLineOption -EditMode Windows
|
Set-PSReadLineOption -EditMode Windows
|
||||||
|
@ -7,4 +7,3 @@ mkdir -p (Split-Path -Path $PROFILE)
|
|||||||
Copy-Item powershell_profile.ps1 $PROFILE
|
Copy-Item powershell_profile.ps1 $PROFILE
|
||||||
mkdir -p ~/.config/ohmyposh
|
mkdir -p ~/.config/ohmyposh
|
||||||
Copy-Item posh_config.json ~/.config/ohmyposh/config.json
|
Copy-Item posh_config.json ~/.config/ohmyposh/config.json
|
||||||
. $PROFILE
|
|
Loading…
Reference in New Issue
Block a user