Use `!' instead of ERR for error reports.

This commit is contained in:
Jorge Bucaran 2016-05-14 11:50:11 +09:00
parent ec5a66f028
commit 2f1a3abc4b
No known key found for this signature in database
GPG key ID: E54BA3C0E646DB30

View file

@ -563,7 +563,7 @@ function __fisher_plugin_url_clone_async -a url name
printf '$okay""OK""$nc Fetch $okay%s$nc %s\n' '$name' '$hm_url' > $__fisher_stderr printf '$okay""OK""$nc Fetch $okay%s$nc %s\n' '$name' '$hm_url' > $__fisher_stderr
command cp -Rf '$fisher_cache/$name' '$fisher_config' command cp -Rf '$fisher_cache/$name' '$fisher_config'
else else
printf '$error""ERR""$nc Fetch $error%s$nc %s\n' '$name' '$hm_url' > $__fisher_stderr printf '$error""!""$nc Fetch $error%s$nc %s\n' '$name' '$hm_url' > $__fisher_stderr
end end
" > /dev/stderr & " > /dev/stderr &
@ -668,7 +668,7 @@ function __fisher_update_path_async -a name path
pushd $path pushd $path
if not command git fetch -q origin master ^ /dev/null if not command git fetch -q origin master ^ /dev/null
printf '$error""ERR""$nc Fetch $error%s$nc\n' '$name' > $__fisher_stderr printf '$error""!""$nc Fetch $error%s$nc\n' '$name' > $__fisher_stderr
exit exit
end end
@ -1224,7 +1224,7 @@ function __fisher_log -a log message fd
} }
function error(s) { function error(s) {
printf("'$error'%s'$nc' %s\n", "ERR", s) printf("'$error'%s'$nc' %s\n", "!", s)
} }
{ {