1
0
mirror of https://github.com/dcarrillo/prezto.git synced 2024-11-15 05:01:13 +00:00
Commit Graph

104 Commits

Author SHA1 Message Date
Juan G. Hurtado
f33e196bf0 Adds new prompt methods on Git lib
Modifies the Git lib file (lib/git.zsh), adding three new prompt
methods:

- git_prompt_ahead(): Shows the content of the custom var
  $ZSH_THEME_GIT_PROMPT_AHEAD if the local repository has
  commits ahead from the remote origin repository

- git_prompt_short_sha(): Shows last commit SHA hash in short
  mode wrapped between the content of the custom vars
  $ZSH_THEME_GIT_PROMPT_SHA_BEFORE and
  $ZSH_THEME_GIT_PROMPT_SHA_AFTER

- git_prompt_long_sha(): Shows last commit SHA hash in long
  mode wrapped between the content of the custom vars
  $ZSH_THEME_GIT_PROMPT_SHA_BEFORE and
  $ZSH_THEME_GIT_PROMPT_SHA_AFTER
2011-04-29 09:22:56 +02:00
Pat Regan
bb45bab6aa Merge remote branch 'upstream/master'
Conflicts:
	plugins/github/github.plugin.zsh
2011-04-20 01:29:58 -04:00
Pat Regan
af0b6ac28f Moved compinit call back to oh-my-zsh.sh, after plugins are loaded 2011-04-12 09:28:15 -04:00
Pat Regan
a56e12932f Moved the single compinit call from oh-my-zsh.sh to lib/completion.zsh 2011-04-08 11:10:14 -04:00
Pat Regan
782883b5d8 Replace redundant calls to compinit with a single call. 2011-04-08 10:12:22 -04:00
Lorrin Nelson
c02b29159b Introduce DISABLE_AUTO_TITLE option 2011-03-23 21:20:08 -07:00
Robby Russell
2a8a861ac3 Revert "Re-order title/tab setting to make window titles work on OSX terminal which"
Was causing iTerm title to disappear entirely..

This reverts commit d4ea399b04ef57dd31097eadc316305d1e42a194.
2011-03-16 12:20:35 -07:00
Robby Russell
2678ae6d8b Merge branch 'osx-terminal-title' of https://github.com/curiousstranger/oh-my-zsh into curiousstranger-osx-terminal-title 2011-03-16 08:01:29 -07:00
Matt Cable
2f6d6909b3 Re-order title/tab setting to make window titles work on OSX terminal which
doesn't support tabs titles.
2011-03-13 17:10:13 -06:00
Woody Gilk
88faaec7c9 Enable alias completion, do not limit completion to just files 2011-03-11 21:44:12 -06:00
Robby Russell
7b8cf376d1 Revert "Enable alias completion, do not limit completion to just files"
This reverts commit c3a58b00040018743ead1e6672910433fc1ca7c2.
2011-04-12 10:24:06 +02:00
Renaud (Nel) Morvan
bb609fce12 Refactor DISABLE_AUTO_TITLE to be more DRY 2011-04-04 14:02:50 +02:00
Renaud (Nel) Morvan
044012b965 Command title behavior no longer depend on local zsh configuration
Fix by derekjw. closes #52.
2011-04-04 13:44:48 +02:00
Renaud (Nel) Morvan
bb8bbf33b7 Escape characters used in escape sequence to avoid triggering bugs in Apple Terminal
Closes #45 #57 #58 #86.
2011-04-04 13:30:39 +02:00
Robby Russell
1a4a16decc Merge branch 'refactor-term' of https://github.com/nel/oh-my-zsh into nel-refactor-term 2011-02-21 22:00:05 -08:00
Robby Russell
e9fee6e9ae Merge branch 'lib-git' of https://github.com/sorin-ionescu/oh-my-zsh into sorin-ionescu-lib-git 2011-02-21 21:50:36 -08:00
Robby Russell
8accedb15d Merge branch 'nicoulaj-theme' of https://github.com/nicoulaj/oh-my-zsh into nicoulaj-nicoulaj-theme 2011-02-21 21:45:00 -08:00
Sorin Ionescu
ccdf259468 Added modified while newly added and type change detection to git prompt modified status. 2011-02-03 23:24:33 -05:00
Renaud (Nel) Morvan
da8b3f0010 Refactor window and tab title in tty
Term window title and tab title are now skinable
Tab title can be different from window title (when supported by term)
Default theme is optimized of usuability (no %u@%m: $~ in a 10 char tab)
Cleanup code duplication and add comment for supported terms
On osX it works great on iterm, and is decent once you tweak Terminal pref
Tested under GNU screen, iTerm and Apple Terminal, need to be tested on linux
TODO implement Konsole support (via dbus)
2011-01-30 08:21:49 +01:00
Robby Russell
c901f4eea3 Merge branch 'master' of https://github.com/SuprDewd/oh-my-zsh into SuprDewd-master 2011-01-15 01:17:29 -08:00
SuprDewd
f26e1c327a Merge branch 'master' of git://github.com/robbyrussell/oh-my-zsh 2011-01-10 17:56:38 +00:00
Robin Ramael
33bb6e797e Added an option to remove file afterwards. 2011-01-10 17:34:38 +01:00
Michael Komitee
15eadb9e4d Postponing sourcing of the theme until after local customizations 2011-01-08 23:34:47 -05:00
SuprDewd
ea5c866c7e Support for more archive formats. 2010-12-25 13:28:16 +00:00
SuprDewd
cd35d86fff Added a function to extract various archives.
Also an alias for the function.
2010-12-24 22:20:57 +00:00
Derek Prior
5f0afcdd3c Added function to mkdir and immediately change to it 2010-12-21 14:28:40 -05:00
Julien Nicoulaud
c53ab8ee01 Rename appearance.zsh so that it gets loaded after spectrum.zsh.
Allows to use 256 colors in prompt themes.
2010-11-20 18:06:23 +01:00
gwjo
86ca51a6b7 Completion fixes
Use /etc/hosts in addtion to $HOME/.ssh/known_hosts as the source for
hostname completion

Turn on completion caching to speed up certain comands

When completing usernames, don't include system accounts by default
2010-11-03 16:57:15 -04:00
Sven Lito
d89d3a2703 merging in changes from robby's repo 2010-10-09 19:11:07 +01:00
Robby Russell
9477f708b5 Merge branch 'title-fix' of http://github.com/philips/oh-my-zsh into philips-title-fix 2010-10-09 09:55:52 -07:00
Brandon Philips
e7ddaaa2b0 functions: fix title() to not match any $TERM
On my linux virtual terminals, where TERM="linux", I was getting
annoying output that was messing up my prompt.

It turns out the title function was always matching on the elif
statement for xterm/rxvt no matter what and the linux vt doesn't know
what to do with the title special control sequence and thus was printing
out garbage.

Through experimentation I figured out that the || inside of the [[ ]]
did not work:

export TERM=linux
$ if [[ $TERM =~ "^xterm" || $TERM == "rxvt" ]]; then echo $TERM; fi
linux

$ if [[ $TERM =~ "^xterm" ]] || [[ $TERM == "rxvt" ]]; then echo $TERM; fi

Signed-off-by: Brandon Philips <brandon@ifup.org>

openSUSE running zsh 4.3.10
2010-10-08 22:44:42 -07:00
Irakli Gozalishvili
aa2f553023 Improving git plugin so it can display much more data. 2010-10-09 01:27:40 +02:00
Trevor Creech
36bc60455b Match xterm-color, the default OS X terminal 2010-09-20 17:31:17 -07:00
Robby Russell
8275b52ed8 Merge branch 'named_dirs_completion' of http://github.com/kremso/oh-my-zsh into kremso-named_dirs_completion 2010-09-30 20:50:00 -07:00
Robby Russell
38243d7988 Merge branch 'shifttab' of http://github.com/kremso/oh-my-zsh into kremso-shifttab 2010-09-30 20:48:10 -07:00
Tomas Kramar
3570f0d243 Do not complete named-directories 2010-09-26 16:03:44 +02:00
Robby Russell
1d4098bd29 Removing '.' alias as it is overwriting a bash/zsh feature. Closes #63 2010-08-24 11:08:20 -07:00
Tomas Kramar
5edeaf9e11 Make Shift+Tab move backwards in the menu 2010-03-22 21:44:15 +01:00
Martin Klepsch
0d00b8a636 Putting Git related aliases into git.zsh to have them in context. 2009-12-19 14:35:57 +01:00
Dale Campbell
a8367b0df5 adding quotes to tab() 2009-12-26 00:41:37 -06:00
Robby Russell
4e57305bdd Adding a function that will open up a ticket in Lighthouse based on the number and there being a URL in a hidden file. 2009-12-16 11:23:41 -08:00
Robby Russell
23dea51b86 Adding a nocorrect for the heroku command as it was getting triggered by heroku logs. 2009-12-13 11:48:03 -08:00
To1ne
c2cc4841b9 no correction on gist 2009-12-12 10:12:14 +01:00
To1ne
a48f1172a6 No correction on mkdir + removed duplicate nocorrect mv 2009-12-10 19:04:06 +01:00
Toon Claes
8e3e355ce3 Revert 2009-12-01 23:06:15 +01:00
Toon Claes
0c3b9a6f88 Completion from history 2009-11-30 23:28:40 +01:00
Robby Russell
33f424134e Adding current_branch function, which can be used like: git pull origin master 2009-11-25 12:45:16 -08:00
James Rowe
0d22789e97 Don't correct hpodder commands. 2009-11-22 01:38:55 +08:00
James Rowe
e10d8beba8 Don't display dotfiles or reverse sort with ll alias.
The ll alias is a very common default for bash in Linux distributions, so use
that definition.
2010-05-09 22:23:11 +08:00
James Rowe
f87db739c0 Ignore commands that start with a space.
This is useful when you want to use a dangerous command, as it won't be
available with history searching.
2010-05-09 21:16:33 +08:00