sudo apt update
sudo apt install zsh -yzshchsh -s $(which zsh)nano ~/.zprofileand add
emulate sh -c '. ~/.profile'nano ~/.zshrcand add
export NVM_DIR="$([ -z "${XDG_CONFIG_HOME-}" ] && printf %s "${HOME}/.nvm" || printf %s "${XDG_CONFIG_HOME}/nvm")"
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvmSet-ExecutionPolicy RemoteSigned
winget install JanDeDobbeleer.OhMyPosh -s winget
notepad $PROFILEand add
oh-my-posh init pwsh --config 'https://raw.githubusercontent.com/schroenser/oh-my-posh-config/main/config.json' | Invoke-ExpressionIf $PROFILE is not found run
New-Item -Path $PROFILE -Type File -Forcecurl -s https://ohmyposh.dev/install.sh | bash -snano ~/.bashrcand add
eval "$(oh-my-posh init bash --config 'https://raw.githubusercontent.com/schroenser/oh-my-posh-config/main/config.json')"nano ~/.zshrcand add
eval "$(oh-my-posh init zsh --config 'https://raw.githubusercontent.com/schroenser/oh-my-posh-config/main/config.json')"In an elevated PowerShell, run
oh-my-posh font install
then set the new font for the Terminal application, Visual Studio Code and IntelliJ.
winget upgrade JanDeDobbeleer.OhMyPosh -s winget