diff options
-rwxr-xr-x | bin/pkg | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -751,7 +751,7 @@ function pkg_status { typeset vcs_status check_installed $1 vcs_status=$(PAGER='' vcs_status $1) - if [[ -n $vcs_status && $(echo $vcs_status | tail -n 1) != 'nothing to commit (working directory clean)' ]] { + if [[ -n $vcs_status && $vcs_status != *'nothing to commit (working directory clean)' ]] { clear_line info "$1:\n" echo $vcs_status |