summaryrefslogtreecommitdiff
path: root/.gitignore
diff options
context:
space:
mode:
authoralexg0 <alexg@alexland.org>2009-11-30 04:47:39 +0800
committerLeonid Volnitsky <leonid@volnitsky.com>2009-11-30 12:59:31 +0800
commit908a3733288f2d987b4f679d0b9a4304018c395a (patch)
tree6700669f862f9078fed97c185f6c9c37b4f18a67 /.gitignore
parentfixed: in locked state "git status" does not work (diff)
downloadgit-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 '.gitignore')
-rw-r--r--.gitignore4
1 files changed, 4 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index 2d19fc7..827d95c 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,5 @@
*.html
+
+# emacs backup and lock files
+*~
+\#*\#