summaryrefslogtreecommitdiff
path: root/git-prompt.sh
Commit message (Collapse)AuthorAge
...
* simple autojumpLeonid Volnitsky2009-12-09
| | | | | | | | | | | | | | | | 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"
* reverted prompt char to old default '>'Leonid Volnitsky2009-11-30
|
* Get rid of extranious status line updates, while script (usuallyalexg02009-11-30
| | | | .bashrc) is running.
* Fixed errors related to running git-prompt.sh in Emacs shell-mode,alexg02009-11-30
| | | | | | | | | | | | | | | | | | 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).
* fixed: in locked state "git status" does not workLeonid Volnitsky2009-10-24
|
* added git locked stateLeonid Volnitsky2009-10-07
|
* added vcs_dir_ignore_listLeonid Volnitsky2009-08-24
|
* fixed: svn status can have non-space 2nd and 3rd columnsLeonid Volnitsky2009-08-20
|
* cutting default_host from the beginning not from the end of host(name)JerryWho2009-08-18
| | | Signed-off-by: Leonid Volnitsky <leonid@volnitsky.com>
* Add control over color of user name.Amir Yalon2009-08-09
| | | Signed-off-by: Leonid Volnitsky <leonid@volnitsky.com>
* fixed: svn module - removed forgotten debug statementLeonid Volnitsky2009-08-08
|
* fixed: SVN and HG moduels were broken (+/-1 array index)Leonid Volnitsky2009-08-07
|
* Clear up code for host color.Amir Yalon2009-07-28
| | | | | | Now the color stays the same for each value of upcase_hostname in the configuration. Signed-off-by: Leonid Volnitsky <leonid@volnitsky.com>
* fix to support future major Bash versions >3Amir Yalon2009-07-28
| | | Signed-off-by: Leonid Volnitsky <leonid@volnitsky.com>
* -- fixed: bash < 3.1 don't support regex (cwd_truncate was disabled)Leonid Volnitsky2009-07-18
|
* fixed: cwd_truncateLeonid Volnitsky2009-07-17
|
* finished nodupsLeonid Volnitsky2009-07-13
|
* trunc on dir boundaryLeonid Volnitsky2009-07-12
|
* seems to werkLeonid Volnitsky2009-07-12
|
* -- parent dir is backLeonid Volnitsky2009-07-11
|
* don't show all files state in subdir, only show shubdir itselfLeonid Volnitsky2009-07-11
|
* fixed: broken with retab parse_git_status(), rename: trunkated_* --> elipses_*Leonid Volnitsky2009-07-11
|
* removed obsolete $label, renamed *_title --> *_labelLeonid Volnitsky2009-07-10
|
* fixed: display of only last dir in labelLeonid Volnitsky2009-07-10
|
* fixed: cwd_truncate; label displas only last path dirLeonid Volnitsky2009-07-10
|
* fixed: default for cwd_cmdLeonid Volnitsky2009-07-03
|
* fixed: consistant tabulation. tabstop=8, tabs replaced with spacesLeonid Volnitsky2009-07-02
|
* -- fixed: upcase_hostname didn't do right thing if host == default_hostLeonid Volnitsky2009-07-02
|
* cwd_cmd selectorLeonid Volnitsky2009-07-01
|
* -- cwd_truncate() -- no external cmd implementationLeonid Volnitsky2009-07-01
|
* Merge commit 'niklas/master' into dirLeonid Volnitsky2009-07-01
|\
| * can turn hostname upcasing offNiklas Hofer2009-05-28
| |
| * can turn truncate_pwd="on"Niklas Hofer2009-05-28
| |
| * truncate working path until it fits into max_pwd_length or cannot be ↵Niklas Hofer2009-05-28
| | | | | | | | shortened anymore
* | fixed: PARSE_VCS_STATUS incorrectly initialized if git is not installedLeonid Volnitsky2009-06-15
| |
* | fixed (for parse_git_status() only): files from parent directiry were shown ↵Leonid Volnitsky2009-06-01
|/ | | | in file list
* -- optimization: one time processing moved to post-configLeonid Volnitsky2009-05-23
|
* -- renamed parse_{git,svn,ht,vcs}_dir --> parse_{...}_status; configLeonid Volnitsky2009-05-23
| | | | file
* Simple mercurial (hg) support in prompt.Lee Nussbaum2009-05-22
| | | Signed-off-by: Leonid Volnitsky <leonid@volnitsky.com>
* fixed: lable display for gnu-screenLeonid Volnitsky2009-04-22
|
* current-command is show in label (xterm title)Leonid Volnitsky2009-04-17
| | | | | reimplemented trough trap-debug http://www.davidpashley.com/articles/xterm-titles-with-bash.html
* fixed: not bash prompt escapes around bellLeonid Volnitsky2009-04-15
|
* exit code now deisplayed at left-most position; fixed: extranious spase removedLeonid Volnitsky2009-04-06
|
* terminal error_bell is backLeonid Volnitsky2009-04-06
|
* external configLeonid Volnitsky2009-03-13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Squashed commit of the following: commit d2dd640947b803bfd0df4c68b841457ce543995d Author: Leonid Volnitsky <Leonid@Volnitsky.com> Date: Wed Mar 11 21:29:49 2009 +0200 -- if max_file_list_lenght==0 (disabled), then do not display "..." commit 4dc94f9668b797142cbd525d2fc9137f615bc2db Author: Leonid Volnitsky <Leonid@Volnitsky.com> Date: Wed Mar 11 21:19:09 2009 +0200 -- switch git_module works commit 7d7d3e1996d6834f2cccc900ac5bc626ff2ce6bb Author: Leonid Volnitsky <Leonid@Volnitsky.com> Date: Sun Mar 8 19:41:47 2009 +0200 -- colors are working commit f1a8382bd7c4b2b1c27fc9908efa54f74290f06a Merge: 876c85e 4a8777a Author: Leonid Volnitsky <Leonid@Volnitsky.com> Date: Sun Mar 8 18:25:52 2009 +0200 Merge branch 'master' into config Conflicts: index.txt commit 876c85e87090c7de5740538666bdf558e30923b9 Author: Leonid Volnitsky <Leonid@Volnitsky.com> Date: Fri Feb 20 13:44:52 2009 +0200 -- conf
* Localdoman seems wrong, changed it to be $localdomain.Wes Oldenbeuving2009-02-20
| | | | | This is in style with most similar lines. Signed-off-by: Leonid Volnitsky <leonid@volnitsky.com>
* fixed space-in-filename bug (again)Leonid Volnitsky2009-02-20
| | | | | | | | | | | | | | | [GitHub] aevernon: I found a bug in git-prompt. If you have a filename containing a space in a Git working directory, git-prompt gets confused and tries to evaluate as a command the part of the filename after the space. For example, if you are in a Git working directory and run touch Test\ File you will see the message bash: File: command not found
* added: pick hostname color from hostname checksumLeonid Volnitsky2009-01-05
|
* fixed: file from parent dir are shownLeonid Volnitsky2009-01-05
|
* svn module now can display file status tooLeonid Volnitsky2008-12-24
|