Skip to content

Instantly share code, notes, and snippets.

@jiaming0708
Last active May 31, 2024 01:55
Show Gist options
  • Save jiaming0708/71db3de14ffebfc37f006b582d921a93 to your computer and use it in GitHub Desktop.
Save jiaming0708/71db3de14ffebfc37f006b582d921a93 to your computer and use it in GitHub Desktop.
Software in computer
  • alfred
  • docker desktop
  • postman
  • bitwarden
  • vscode
  • typro
  • wox
  • window terminal
  • container tools
    • docker desktop
    • postman
  • bitwarden
  • development tools
    • linqpad 7
    • vscode
    • vs
    • rider
  • typro
  • database tools
    • sql developer
    • SSMS
    • DBeaver
  • PicPick
  • ScreenToGif
  • nvm
@jiaming0708
Copy link
Author

jiaming0708 commented Jun 27, 2023

open PowerShell setting

New-Item -Path $profile -Type File -Force
notepad $profile

adjust setting

oh-my-posh init pwsh --config 'E:/.mytheme.omp.json' | Invoke-Expression

@jiaming0708
Copy link
Author

jiaming0708 commented May 31, 2024

notepad $PROFILE
# 設定 PowerShell 編碼為 UTF-8
$PSDefaultParameterValues['Out-File:Encoding'] = 'utf8'
$PSDefaultParameterValues['Set-Content:Encoding'] = 'utf8'
$PSDefaultParameterValues['Add-Content:Encoding'] = 'utf8'
[console]::OutputEncoding = [System.Text.Encoding]::UTF8
[console]::InputEncoding = [System.Text.Encoding]::UTF8

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment