summaryrefslogtreecommitdiff
path: root/cfg/powershell_prompt.ps1
diff options
context:
space:
mode:
authorczjstmax <jstmaxlol@disroot.org>2025-11-21 20:51:07 +0100
committerGitHub <noreply@github.com>2025-11-21 20:51:07 +0100
commitf833d8f40d2f33f021fd3e14d78ba328f91d2ec6 (patch)
treef57f96879583eb1b629e94f146f984182d088a6e /cfg/powershell_prompt.ps1
parent89b69cbf2ec3066051c994269da83a18b399e1a3 (diff)
unfortunately i do have to use powershell every once in a while so made it at least usable
Diffstat (limited to 'cfg/powershell_prompt.ps1')
-rw-r--r--cfg/powershell_prompt.ps119
1 files changed, 0 insertions, 19 deletions
diff --git a/cfg/powershell_prompt.ps1 b/cfg/powershell_prompt.ps1
deleted file mode 100644
index d328d49..0000000
--- a/cfg/powershell_prompt.ps1
+++ /dev/null
@@ -1,19 +0,0 @@
-function prompt {
- $user = $env:USERNAME
- $cwd = (Get-Location).Path
-
- Write-Host "╭" -ForegroundColor white -NoNewline
- Write-Host "(" -ForegroundColor red -NoNewline
- Write-Host $user -ForegroundColor white -NoNewline
- Write-Host "⮞" -ForegroundColor red -NoNewline
- Write-Host "⮞" -ForegroundColor white -NoNewline
- Write-Host "⮞" -ForegroundColor red -NoNewline
- if ($cwd -eq "C:\Users\$user") {
- Write-Host "~" -ForegroundColor white -NoNewline
- } else {
- Write-Host $cwd -ForegroundColor white -NoNewline
- }
- Write-Host ")" -ForegroundColor red
- Write-Host "╰" -ForegroundColor red -NoNewline
- return "⮞ "
-}