diff options
author | alexg0 <alexg@alexland.org> | 2009-11-30 04:47:39 +0800 |
---|---|---|
committer | Leonid Volnitsky <leonid@volnitsky.com> | 2009-11-30 12:59:31 +0800 |
commit | 908a3733288f2d987b4f679d0b9a4304018c395a (patch) | |
tree | 6700669f862f9078fed97c185f6c9c37b4f18a67 /demo-script | |
parent | fixed: in locked state "git status" does not work (diff) | |
download | git-prompt-908a3733288f2d987b4f679d0b9a4304018c395a.tar.gz git-prompt-908a3733288f2d987b4f679d0b9a4304018c395a.tar.bz2 git-prompt-908a3733288f2d987b4f679d0b9a4304018c395a.zip |
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).
Diffstat (limited to 'demo-script')
0 files changed, 0 insertions, 0 deletions