mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2024-11-21 21:30:09 +00:00
lib: fix formatting in omz pr clean
CLI command
This commit is contained in:
parent
1bb402190d
commit
fc6c9ca4b4
1 changed files with 1 additions and 1 deletions
|
@ -175,7 +175,7 @@ function _omz::pr::clean {
|
||||||
|
|
||||||
# Check if there are PR branches
|
# Check if there are PR branches
|
||||||
local fmt branches
|
local fmt branches
|
||||||
fmt="%(align:19,right)%(color:bold blue)%(refname:short)%(end)%(color:reset) %(color:dim bold red)%(objectname:short)%(color:reset) %(color:yellow)%(contents:subject)"
|
fmt="%(color:bold blue)%(align:18,right)%(refname:short)%(end)%(color:reset) %(color:dim bold red)%(objectname:short)%(color:reset) %(color:yellow)%(contents:subject)"
|
||||||
branches="$(command git for-each-ref --sort=-committerdate --color --format="$fmt" "refs/heads/ohmyzsh/pull-*")"
|
branches="$(command git for-each-ref --sort=-committerdate --color --format="$fmt" "refs/heads/ohmyzsh/pull-*")"
|
||||||
|
|
||||||
# Exit if there are no PR branches
|
# Exit if there are no PR branches
|
||||||
|
|
Loading…
Reference in a new issue