Windows terminaalin tuunaus - Tuning windows terminal
1. Lataa Windows terminal Microsoftin kaupasta ja asenna. Download Windows terminal from ms store.
2. Asenna sovellusten asentaja https://apps.microsoft.com/detail/9nblggh4nns1?hl=en-US&gl=FI
Tän voi asentaa myös komentotulkissa wingetillä jos haluaa https://github.com/microsoft/winget-cli
Install app installer, You can istall it also via winget.
3. Käynnistä terminaali. Start terminal app.
4. Kun winget on toiminnassa anna komento: When winget is running give command:
winget install JanDeDobbeleer.OhMyPosh
5. Anna komento: notepad $PROFILE. Give command notepad $PROFILE
Notepadi aukaisee uuden tiedoston, kysyy avataanko / tehdäänkö - Hyväksy
Notepad opens new file, it asks do you accept - Yes.
6. Peistaa tää ko. failiin ja tallenna. Paste this to file and save.
oh-my-posh --init --shell pwsh --config ~/AppData/Local/Programs/oh-my-posh/themes/jandedobbeleer.omp.json | Invoke-Expression
7.Käynnistä terminaali uusiks. Start terminal again.
Nyt se on entistä mausteisempi ;) Now it´s more spicy ;)
Jos VsCode itkee erroria tän jälkeen, niin käynnistä Powershell adminina ja anna komento:
If VsCode wines after that, run powershell as an admin and give command:
Set-ExecutionPolicy -ExecutionPolicy RemoteSigned
Hyväksy toi. Accept this.
Jos haluaa lisää tuunata ni tuolla vinkkiä ja muuallakin ;) https://ohmyposh.dev/
If you want to make more tuning, read from here and elsewhere ;) https://ohmyposh.dev/
Happy coding.
- Kirjaudu sisään kirjoittaaksesi kommentteja