1
0
mirror of https://github.com/dcarrillo/prezto.git synced 2024-11-14 17:41:13 +00:00
Commit Graph

78 Commits

Author SHA1 Message Date
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
James Rowe
4a4262343f Don't auto-correct ebuild commands.
It breaks "ebuild <foo> manifest", as there are Manifest files in the directory.
2010-05-09 21:17:20 +08:00
Robby Russell
d164123064 Moving current_branch() to git plugin 2010-06-03 12:56:11 -07:00
Robby Russell
a77aceaf5e Moving some rails and osx-specific functions to their corresponding plugin files 2010-06-03 12:55:07 -07:00
Robby Russell
4381863fd2 Removing legacy completion code 2010-06-03 12:54:40 -07:00
Robby Russell
318ff007d3 Removing rake completion from lib/ as it was moved to rails plugin 2010-06-03 12:33:15 -07:00
Robby Russell
210a72b441 Initial implementation of a new plugin system, so that people can managed which aliases/functions they want. 2010-06-03 12:03:26 -07:00
Alan Harper
f961374db3 Import rvm prompt 2010-05-19 14:53:16 +08:00
Mike Hostetler
1d93b2346f share history with your zsh's on the same host 2010-03-31 01:31:41 +08:00
Dylan Clendenin
8ca0e16e05 two aliases set to 'ss', clobbering rails script/server 2010-05-04 02:49:48 +08:00
Robby Russell
85ce63d3f8 Merge remote branch 'jreese/master' 2010-05-07 13:16:50 -07:00
John Reese
ab010947ae Ignore errors from compaudit when using sudo -s 2010-04-08 22:35:35 -04:00
kremso
9ec6086282 Don't autoselect first completion entry (Fixes #14)
The key here is not using MENU_COMPLETE which autoselects the first
entry, but using AUTO_MENU which displays the menu but autoselects
on successive tab hit.

Also, do not use zstyle menu yes because that somehow overrides
the setopts.
2010-03-09 14:09:08 +01:00
Robby Russell
2e1eaf4040 Removing rake autocompletion as this is apparently baked into recent versions of zsh 2010-05-06 21:04:09 -07:00
canthiswait
32b8cedb72 escape sequences so rprompt doesn't mess up 2010-04-26 22:01:41 -07:00
canthiswait
5b7b5bc9d1 Added scpectrum script for easy 256 color theaming 2010-04-26 16:02:19 -07:00
Andy Fowler
2db18cb050 makes git status prompt 4x faster
(via git status -s, benchmarked)
2010-05-04 16:18:57 -04:00
Toon Claes
57e0d28d33 Modifying changes for issue 25, to fix issue 27 2009-11-09 21:38:40 +01:00
Toon Claes
41d9da7193 Merge branch 'master' of git://github.com/robbyrussell/oh-my-zsh 2009-11-09 21:28:17 +01:00
Robby Russell
29b6bf6aaa Revert "Added my prompt theme, with a tweak to the core oh-my-zsh to support it. My git_prompt_info function not only reports the branch and dirty status, but also whether or not the branch is ahead or behind of the remote, or both. It also switches the prompt colour from green to red if the previous command exited with a non-zero value (i.e. failed)."
This reverts commit 14a1ce80bbf7362ab2856cdd050714f02649fe3f.
2009-11-09 07:33:51 -08:00
Robby Russell
8b4d9d376c Revert "Whoops, forgot to include this dummy precmd implementation."
This reverts commit a21525ba0ccbdf35a0524f6cf7f2025fef578c78.
2009-11-09 07:33:38 -08:00
Robby Russell
6326573fa2 Only using the contents of .ssh/known_hosts when the file exists for ssh/scp auto-completion. Closes issue #20 2009-11-08 15:34:02 -08:00
Robby Russell
eb6ed520f3 Removing gdb alias as it conflicts with an actual command for gdb. Closes #17 2009-11-08 15:27:17 -08:00
Robby Russell
c36f73d4d4 Revert "Fixed issue #19 'Rake not auto completing'. The stat command syntax that was being used was not correct. Or at least on my machine. See man page for the stat command"
This reverts commit 83907294d640d910968cf9152d11c6a5ab3205f5.
2009-11-08 15:24:20 -08:00
Toon Claes
9c0dcdaefc parse error fix 2009-11-05 20:48:08 +01:00
Toon Claes
600efef0c3 Enabled colors in ls and made it possible to theme them 2009-11-05 20:44:28 +01:00
Toon Claes
2ed5139bd6 Joined the appearance so the theme can apply LSCOLORS too 2009-11-04 20:37:18 +01:00