Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Look for git info in background
- X-seq: zsh-users 18465
- From: Teto <mattator@xxxxxxxxx>
- To: zsh-users@xxxxxxx
- Subject: Look for git info in background
- Date: Mon, 17 Feb 2014 01:05:10 +0100
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:reply-to:date:message-id:subject:from:to:content-type; bh=cp/IG4AkeIu5eH71QaK6JbnWp0m/b7jODpck5qYAyOY=; b=rkhV1hdHakgT3dTQin/5TFjSYupShkJ7uqXPYVLjonp5XWYx/EYObT3aJEuMIhBGMv ASDrw9Sph7Qf9jHxqQ8V6uAHgSyfZnz26oqdTwmruwbOIAV3brZZVnHFP/4WKArCBYUj lh/FhBh+a28SG4qP/8hKpJvySeO0mORMIF81AAFSGPvor6dQhHBkuQjA6oyj1N5luKFL l94Q6DxZlWgVOHkZRrs3WvwjOKMlQGRE5FoIvYDmCZ1gbv6R2es9i6rv6eD0DdCTfFkc dkApC+8NycR3xKSj9+0n5KQet7YdCYAHjZdfM7ADVzes9nfk7HBipByiTeKSYmIPHuve fW8g==
- List-help: <mailto:zsh-users-help@zsh.org>
- List-id: Zsh Users List <zsh-users.zsh.org>
- List-post: <mailto:zsh-users@zsh.org>
- Mailing-list: contact zsh-users-help@xxxxxxx; run by ezmlm
- Reply-to: mattator@xxxxxxxxx
Hi,
I display "git" informations in my prompt such as branch name, number
of commits since last push etc... but on big repositories, it takes
some time to retrieve.
I would like to display the prompt as soon as I know if the folder is
a git repo or not so that I can enter commands in the prompt. I would
like zsh to retrieve that info (number of commtis ahead of upstream
etc...) in background and update my prompt when the information
becomes available.
has anyone some code for that, I couldn't find anything ?
Regards
Matt
Messages sorted by:
Reverse Date,
Date,
Thread,
Author