diff options
author | Matt Singleton <matthew.j.singleton@gmail.com> | 2011-01-13 17:58:41 -0500 |
---|---|---|
committer | Matt Singleton <matthew.j.singleton@gmail.com> | 2011-01-13 17:58:41 -0500 |
commit | 0452f449864ce97fa57b4e46796409d6534e8243 (patch) | |
tree | 330607dcc7ee51213106680a86abd2376237517c /zshrc | |
parent | 3f84b01bf8d91765037a33b6aa83246c6060dc66 (diff) |
speeding up prompt by using faster vcs commands; adding exit code and updated time info to prompt
Diffstat (limited to 'zshrc')
-rw-r--r-- | zshrc | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -41,3 +41,7 @@ fi # run after local because local because user bin should # take absolute priority export PATH=$HOME/bin:$PATH + +function preexec () { + echo "($fg[magenta]`date +%r`$reset_color) $fg[cyan]$3$reset_color" +} |