summaryrefslogtreecommitdiff
path: root/cfg/powershell_prompt.ps1
diff options
context:
space:
mode:
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 "⮞ "
-}