summaryrefslogtreecommitdiff
path: root/index.txt
diff options
context:
space:
mode:
Diffstat (limited to 'index.txt')
-rw-r--r--index.txt56
1 files changed, 33 insertions, 23 deletions
diff --git a/index.txt b/index.txt
index a0c3b84..a48ab80 100644
--- a/index.txt
+++ b/index.txt
@@ -2,6 +2,9 @@
= GIT Prompt
+* Repo: httpx://github.com/lvv/scc[GitHub], httpx://bitbucket.org/lvv/scc[BitBucket] +
+* License: httpx://www.gnu.org/licenses/gpl-3.0.html[GPL3]
+
:v-p: http://volnitsky.com/project
:compact-option: compact
@@ -11,7 +14,7 @@
image:screenshot-prompt-basic.png[basic usage]
Digit [red]*1* on 3rd line is `false(1)` exit code. Also on non-zero exit code
-terminal bell is sounded. Bell is turnned off by default (to set softer
+terminal bell is sounded. Bell is turned off by default (to set softer
terminal bell use `setterm`).
@@ -27,8 +30,8 @@ image:screenshot-prompt-git.png[git module screenshot]
| *Branch* | *File* | *Meaning*
| [darkblue]#dark blue# | | Clean repo
| [green]#green# | [green]#green# | Modified or new file. Modifications are in index but not in repo yet.
-| [#cc0000]#dark red# | [#cc0000]#dark red# | Modified and tracked by repo, but modifications not added to index yet.
-| [blue]#light blue# | [blue]#light blue# | Untracked file.
+| [darkred]#dark red# | [darkred]#dark red# | Modified and tracked by repo, but modifications not added to index yet.
+| [lightblue]#light blue# | [lightblue]#light blue# | Untracked file.
| [red]#light red# | | Detached Head
| [magenta]#magenta# | | In middle of doing something
|================================================================
@@ -68,11 +71,11 @@ caption always "%{= kw}%-w%{= bw}%n %t%{-}%+w %-= @%H - %LD %d %LM - %c"
== Simple AutoJump
AutoJump is python script from Joel Schaerer providing shortcuts for jumping
-to directories you once visited. Git-prompt have builtin, simplified
-autojump. It is only about 10 lines of code (vs original 100+ LOC), there is
-no database. It remembers only directories from current session. It selects
-not most frequent dir, but last visited. Matches are done from beginning of of
-dir name (not path name).
+to directories you once visited. Git-prompt have built-in, simplified
+autojump. It is only about 10 lines of bash code (vs original 100+ python
+LOC), there is no database. It remembers only directories from current
+session. It selects not most frequent dir, but last visited. Matches are done
+from beginning of of dir name (not path name).
-----------------
cd /tmp
@@ -87,16 +90,6 @@ j .*3 # same as cd "~/long dir mp3"
-------------
-== Bash Completion
-
-Completion can be done for git subcommands, branches and remotes:
-
----------------------
-git ch<tab> # expands to git checkout
-git checkout ma<tab> # expands to git checkout master
---------------------
-
-
== Install
Download link:git-prompt.sh[] or get it with GIT:
@@ -115,7 +108,19 @@ Some distros also have `/etc/bashrc` or `/etc/bash/bashrc` with distro default
prompt.
-== Config
+
+== GIT config
+
+GIT-PROMPT requires following GIT's option to be set:
+
+-------------------------
+git config [--global] core.quotepath off
+git config [--global] --unset svn.pathnameencoding
+git config [--global] --unset i18n.logoutputencoding
+-----------------------------
+
+
+== GIT-PROMPT config
[[config]]
Is optional. If config file is not found then git-prompt uses defaults.
@@ -168,12 +173,11 @@ dependencies are standard unix utils.
== Todo
-* Subshells number indicator. Don't know how to do this. There is bash
- `"\j"`, but let say I want `">>"` after path instead of `">"` when I have 2 jobs
- running. Running `+++`jobs | ... `+++` is extra bash fork, hate to do this.
+* httpx://jonisalonen.com/2012/your-bash-prompt-needs-this/[]
+* httpx://tldp.org/HOWTO/Bash-Prompt-HOWTO/x810.html[Beep after long running command]
+* httpx://briancarper.net/blog/248/[Sync bash history]
* VIM module needs to be moved out of GIT module
-
include::../volnitsky.com/project/howto-submit-patch.txt[]
Nobody will use git-prompt if there will be delay in prompt display.
@@ -190,6 +194,12 @@ time consuming ops in postconfig which is executed only once.
- Martin httpx://github.com/jerrywho[] <JerryWho AT gmx.de>
- Alexander Goldstein (emacs-shell, prompt chars) httpx://github.com/alexg0[]
- Dmitry <uok AT gmx.net> (bash completion)
+- Sergey Shepelev <temotor AT gmail.com>
+- Robert Wahler <robert AT gearheadforhire.com>
+- Gustavo Delfino <gdelfino AT gmail.com>
+- Dan Bravender <dan.bravender AT gmail.com>
+- Thomas Geffert <thomas.geffert AT arcutronix.com>
+- Tibor Simko <tibor.simko AT cern.ch>
[bibliography]