aboutsummaryrefslogtreecommitdiffstats
path: root/devi.zsh-theme
diff options
context:
space:
mode:
authorterminaldweller <thabogre@gmail.com>2022-11-04 05:03:18 +0000
committerterminaldweller <thabogre@gmail.com>2022-11-04 05:03:18 +0000
commit24bd72d7b2bfacc3caa45509b25e0ed9990b901a (patch)
tree3226f52f1aa9fdc16e68752a77ecdf8231086dfe /devi.zsh-theme
parentcgit update (diff)
downloadscripts-24bd72d7b2bfacc3caa45509b25e0ed9990b901a.tar.gz
scripts-24bd72d7b2bfacc3caa45509b25e0ed9990b901a.zip
update
Diffstat (limited to '')
-rw-r--r--devi.zsh-theme5
1 files changed, 3 insertions, 2 deletions
diff --git a/devi.zsh-theme b/devi.zsh-theme
index 60031d1..5d4507e 100644
--- a/devi.zsh-theme
+++ b/devi.zsh-theme
@@ -359,6 +359,7 @@ timer_precmd() {
add-zsh-hook precmd timer_precmd
# async jobs
+# https://github.com/vincentbernat/zshrc/blob/d66fd6b6ea5b3c899efb7f36141e3c8eb7ce348b/rc/vcs.zsh
_async_rbq_start() {
async_start_worker rbq_info
async_register_callback rbq_info _async_rbq_info_done
@@ -403,14 +404,14 @@ _async_rbq_start
_async_vcs_start
add-zsh-hook precmd() {
- async_job vcs_info _async_vcs_info $PWD
+ async_job vcs_info _async_vcs_info $PWD > /dev/null 2>&1
}
ass-zsh-hook chpwd() {
vcs_info_msg_0=
}
add-zsh-hook precmd() {
- async_job rbq_info _async_rbq_info $PWD
+ async_job rbq_info _async_rbq_info $PWD > /dev/null 2>&1
}
add-zsh-hook chpwd() {