浏览代码

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

Marc Cornellà 4 年之前
父节点
当前提交
fc6c9ca4b4
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      lib/cli.zsh

+ 1 - 1
lib/cli.zsh

@@ -175,7 +175,7 @@ function _omz::pr::clean {
 
         # Check if there are PR 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-*")"
 
         # Exit if there are no PR branches