Skip to content

Commit

Permalink
status
Browse files Browse the repository at this point in the history
  • Loading branch information
sneivandt committed Sep 17, 2023
1 parent d32e634 commit 1963d60
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion env/base-gui
4 changes: 3 additions & 1 deletion env/base/symlinks/config/git/config
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@
autocrlf = input
excludesfile = ~/.config/git/ignore
attributesfile = ~/.config/git/attributes
untrackedCache = true
fsmonitor = true

[color]
ui = true
Expand All @@ -26,7 +28,7 @@
default = current
followTags = true
[status]
showStash = true
showStash = false
[tag]
gpgsign = false

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ function Prompt

if (Get-Command "git" -ErrorAction SilentlyContinue)
{
$status = git status --short --branch 2> $null
$status = git --no-optional-locks status --short --branch --porcelain=v1 --untracked-files=no 2> $null
$branch = ((($status | Select-Object -First 1) -replace "^## ","") -Split "\.\.\.")[0]

if ($branch)
Expand Down

0 comments on commit 1963d60

Please sign in to comment.