Fixed errors related to running git-prompt.sh in Emacs shell-mode,
change prompt-char to '#' when root, allowed changing prompt-char
(eg. $) when user.  Added Emacs backup (*~) files as .gitignore.

1.  tput colors was being concatinated to '0'.  Inside emacs shell
this is not valid, as `tput colors` is 0.

2.  MC bug check was catching Emacs shell inferior mode.  Now checking
for $INSIDE_EMACS variable.

3.  Defined $prompt_char variable and $root_prompt_char
variable. Defaulting $root_prompt_char to '#'.  Can just use \$, which
automatically changes between '$' and '#', but that would change
defalt behavior.

4.  Fixed typo in a comment (cmd_cmd -> cwd_cmd).
Get rid of extranious status line updates, while script (usually
.bashrc) is running.
reverted prompt char to old default '>'
simple autojump

See description of autojump on github
It is only ~10 lines of code, there is no database. It remembers only
directories from current session. It select not most frequent dir, but
matching last visited. Matches are done from beginning of of dir.

cd /tmp
cd "~/long dir mp3"
cd "~/long dir mp4"
cd /tmp
cd /var/tmp
cd /etc
j t  	# same as  cd /var/tmp
j .*3  	# same as  cd "~/long dir mp3"
Check LC_CTYPE in stead of LC_LANG.

The default in Mac OS X only sets LC_CTYPE to UTF-8, so check that in
order to detect whether the terminal supports the Unicode elliepses marker.
-- docs
fixed: for case when there is no VCS modules
git autocompletion

The patch of (git-prompt.sh) provided
an autocomplexional git commands entering

You can check an action provided by patch:

$ cat parse_git_complete.patch | patch -d /path/to/git-prompt
$ cd /path/to/any/repository/of/git/
$ git checkout -b some_new_development_branch_v.0.0.1

Switched to a new branch 'some_new_development_branch_v.0.0.1'

Press <Tab> after console entering like:
$ git ch<Tab>so<Tab>
or:
$ g ch<Tab>so<Tab>

So: you can see the new branch 'some_new_development_branch_v.0.0.1'
listed
-- completion docs/cleanup
Also read ~/.config/git-prompt.conf.

Viva clean home dir.
[vim_module] More relaxed swap mask: .*.sw? and swap time check removed (show all swap files).

There may be more than one swap file: .swo, .swn and so on.
Whitespace cleanup.
Lowercase letters in 'vim:' prefix for files currently opened in vim.

Uppercase is too much drama.
-- minore docs
Merge branch 'master' of github.com:lvv/git-prompt

Conflicts:
	git-prompt.sh
File lists now work under Mac OS X

In the file_regex, the ? (for zero or one) repetitions
was not being recognized by the sed included in my 
Mac OS X 10.6 machine. This is now fixed.
-- docs
My TERM is xterm-256color even under screen for some reason
unset tty on cygwin under console2
removed bash completion for git-prompt

bash git completion can be enabled from .bash_profile.
Put something following in your profile:

	[[ -f "/etc/bash_completion.d/git" ]] &&
	     . /etc/bash_completion.d/git

	[[ -f "/usr/share/bash-completion/git" ]] &&
	     . /usr/share/bash-completion/git