Personalizar o prompt em que você trabalha dia após dia pode parecer uma bobeira mas para uma grande maioria é um prazer, e claro um grande passatempo quando você tenta variar e fazer coisas novas. Em adendo a isto tenho gastado um tempo nisto e tem sido muito legal, para não dizer engraçado também, e uma das coisas claro que me incodavam era a constante alteração do prompt entre os shells quando necessário, e por conta disso cheguei a seguinte solução abaixo…
PS1="[\[$(tput sgr0)\]\[\033[38;5;44m\]⌐■_■\[$(tput sgr0)\]\[\033[38;5;15m\]]
:[\[$(tput sgr0)\]\[\033[38;5;9m\]\A\[$(tput sgr0)\]\[\033[38;5;15m\]]:>\[$(tput sgr0)\]"
function prompt{
$time = Get-Date -Format t
Write-Host ("[") -ForegroundColor White -NoNewline
Write-Host ("⌐■_■") -ForegroundColor Red -NoNewline
Write-Host ("]:[") -ForegroundColor White -NoNewline
Write-Host ($time) -ForegroundColor Cyan -NoNewline
Write-Host ("]:>") -foregroundcolor White -nonewline
return " "
}
O efeito ficou bem legal..

cya! 🎶🎶🎶
| Todas Tags |
| Cheats |
16
|
| DevOps |
15
|
| MacOS |
7
|
| Shell |
6
|
| Continuous Learning |
5
|
| Automation |
4
|
| Git |
4
|
| Azure |
3
|
| Managed Services |
3
|
| Pensamentos |
3
|
| PowerShell |
3
|
| AppleScript |
2
|
| Aws |
2
|
| ITIL |
2
|
| Microservices |
2
|
| PlatformEngineer |
2
|
| SRE |
2
|
| Webserver |
2
|
| Ansible |
1
|
| Apple |
1
|
| Billing |
1
|
| Brokerage |
1
|
| Cloud Computing |
1
|
| CloudOps |
1
|
| Containers |
1
|
| Continuos Learning |
1
|
| DevSecOps |
1
|
| Docker |
1
|
| Engineering |
1
|
| Github |
1
|
| Gitlab |
1
|
| Google Script |
1
|
| Hugo |
1
|
| Internet |
1
|
| Kubernetes |
1
|
|
1
|
| Markdown |
1
|
| Nginx |
1
|
| Observabilidade |
1
|
| OpenSSL |
1
|
| Proxy Pass |
1
|
| Serverless |
1
|
| Sysadmin |
1
|
| Terraform |
1
|