fc6c9ca4b40ee1c9ba7fb4b1c8862fb54a8cb1f6

Author
Marc Cornellà <marc.cornella@live.com>
Committer
Marc Cornellà <marc.cornella@live.com>
Date

Message

lib: fix formatting in `omz pr clean` CLI command

Diff

 1diff --git a/lib/cli.zsh b/lib/cli.zsh
 2index 0c0f3f623604b2e482ce3a9eff990f2bddd04a1d..5d6c31aef6c65d125448c2337e198f3bddbb3330 100644
 3--- a/lib/cli.zsh
 4+++ b/lib/cli.zsh
 5@@ -175,7 +175,7 @@ function _omz::pr::clean {
 6 
 7         # Check if there are PR branches
 8         local fmt branches
 9-        fmt="%(align:19,right)%(color:bold blue)%(refname:short)%(end)%(color:reset) %(color:dim bold red)%(objectname:short)%(color:reset)  %(color:yellow)%(contents:subject)"
10+        fmt="%(color:bold blue)%(align:18,right)%(refname:short)%(end)%(color:reset) %(color:dim bold red)%(objectname:short)%(color:reset) %(color:yellow)%(contents:subject)"
11         branches="$(command git for-each-ref --sort=-committerdate --color --format="$fmt" "refs/heads/ohmyzsh/pull-*")"
12 
13         # Exit if there are no PR branches