Logo
Explore Help
Sign In
jimeh/git-aware-prompt
1
0
Fork 0
You've already forked git-aware-prompt
mirror of https://github.com/jimeh/git-aware-prompt.git synced 2026-02-19 05:36:38 +00:00
Code Issues Packages Projects Releases Wiki Activity
18 Commits 1 Branch 0 Tags
226e2fc80b0f4aec9dd45570c9e7bba1ee11c127
Commit Graph

8 Commits

Author SHA1 Message Date
eacousineau
226e2fc80b Changed find_git_branch to use rev-parse and find_git_dirty to use diff-files for speed (I think). Also removed preceding space in front of branch, and changed function syntax to to what the Git shell scripts use. 2013-03-19 14:27:19 -05:00
eacousineau
1b027dafef Trying out some mods to this. Seems like speed is an issue with git rev-parse 2013-03-19 14:05:02 -05:00
Mike Stenhouse
04b91b50f2 Shouldn't output anything if we're not in a repo. 2012-08-16 15:28:05 +01:00
Mike Stenhouse
c0933f894c Add the branch's dirty state to the prompt.
Based on:
http://bytebaker.com/2012/01/09/show-git-information-in-your-prompt/
2012-08-16 14:49:10 +01:00
Jim Myhrberg
5f876edda3 cleaned up the prompt format a little bit 2010-02-20 15:13:39 +02:00
Jim Myhrberg
7d563b0951 added SUDO_PS1 prompt variable 2010-02-20 12:07:55 +02:00
Jim Myhrberg
87bf0b1b0f updated recommende prompt format 2009-11-15 23:30:51 +02:00
Jim Myhrberg
e13bbc4407 initial commit 2009-11-14 00:21:28 +02:00
Powered by Gitea Version: 1.24.7 Page: 70ms Template: 3ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API