Commit Graph

78 Commits

Author SHA1 Message Date
Derek Prior
2b03b95122 Added function to mkdir and immediately change to it 2010-12-21 14:28:40 -05:00
gwjo
9465ba0de4 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
dc12853b0c merging in changes from robby's repo 2010-10-09 19:11:07 +01:00
Robby Russell
7ab4d30fe1 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
aab235f612 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:55:09 -07:00
Irakli Gozalishvili
8059c0727a Improving git plugin so it can display much more data. 2010-10-09 01:48:23 +02:00
Trevor Creech
b905630366 Match xterm-color, the default OS X terminal 2010-09-30 21:00:38 -07:00
Robby Russell
36c05fbe8d 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
6104e59c8d Merge branch 'shifttab' of http://github.com/kremso/oh-my-zsh into kremso-shifttab 2010-09-30 20:48:10 -07:00
Tomas Kramar
74b2c5d75a Do not complete named-directories 2010-09-26 18:29:14 +02:00
Robby Russell
99f159e0a7 Removing '.' alias as it is overwriting a bash/zsh feature. Closes #63 2010-08-24 11:08:20 -07:00
James Rowe
6efc79c74e Don't correct hpodder commands. 2010-06-05 23:23:53 +08:00
James Rowe
f9fbd07983 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-06-05 23:22:57 +08:00
James Rowe
edc8e3d092 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-06-05 23:22:57 +08:00
James Rowe
6774490a46 Don't auto-correct ebuild commands.
It breaks "ebuild <foo> manifest", as there are Manifest files in the directory.
2010-06-05 23:22:57 +08:00
Robby Russell
27904c117c Moving current_branch() to git plugin 2010-06-03 12:56:11 -07:00
Robby Russell
89bd2bf317 Moving some rails and osx-specific functions to their corresponding plugin files 2010-06-03 12:55:07 -07:00
Robby Russell
455669e976 Removing legacy completion code 2010-06-03 12:54:40 -07:00
Robby Russell
ab2c0744ab Removing rake completion from lib/ as it was moved to rails plugin 2010-06-03 12:33:15 -07:00
Robby Russell
3cf9ab722e 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
ba9c78fc9b Import rvm prompt 2010-05-28 08:13:17 +08:00
Mike Hostetler
93f9825b79 share history with your zsh's on the same host 2010-05-08 04:23:50 +08:00
Dylan Clendenin
9efc086fb3 two aliases set to 'ss', clobbering rails script/server 2010-05-08 04:22:34 +08:00
Robby Russell
7a9d4ceb75 Merge remote branch 'jreese/master' 2010-05-07 13:16:50 -07:00
kremso
926d9e8893 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-05-06 21:06:58 -07:00
Robby Russell
447da5816e Removing rake autocompletion as this is apparently baked into recent versions of zsh 2010-05-06 21:04:09 -07:00
canthiswait
e8ef16570f escape sequences so rprompt doesn't mess up 2010-05-06 20:46:32 -07:00
canthiswait
02bd8ab53e Added scpectrum script for easy 256 color theaming 2010-05-06 20:46:32 -07:00
Andy Fowler
3c87d48362 makes git status prompt 4x faster
(via git status -s, benchmarked)
2010-05-06 20:37:00 -07:00
John Reese
99d72cad55 Ignore errors from compaudit when using sudo -s 2010-04-08 22:35:35 -04:00
Tomas Kramar
3e1d5fa316 Make Shift+Tab move backwards in the menu 2010-03-22 21:44:15 +01:00
Martin Klepsch
f9509f365b Putting Git related aliases into git.zsh to have them in context. 2009-12-27 21:19:40 -08:00
Dale Campbell
90627d3d1c adding quotes to tab() 2009-12-27 21:16:16 -08:00
Robby Russell
2ecc228b23 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
98d56a3097 Adding a nocorrect for the heroku command as it was getting triggered by heroku logs. 2009-12-13 11:48:03 -08:00
To1ne
e429ff9e2b no correction on gist 2009-12-12 10:12:14 +01:00
To1ne
dfb3fb5a0a No correction on mkdir + removed duplicate nocorrect mv 2009-12-10 19:04:06 +01:00
Toon Claes
065ae00673 Revert 2009-12-01 23:06:15 +01:00
Toon Claes
dca4651cee Completion from history 2009-11-30 23:28:40 +01:00
Robby Russell
473dd3b212 Adding current_branch function, which can be used like: git pull origin master 2009-11-25 12:45:16 -08:00
Toon Claes
147f1dc702 Modifying changes for issue 25, to fix issue 27 2009-11-09 21:38:40 +01:00
Toon Claes
729fd0ab3c Merge branch 'master' of git://github.com/robbyrussell/oh-my-zsh 2009-11-09 21:28:17 +01:00
Robby Russell
c620408962 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 14a1ce80bb.
2009-11-09 07:33:51 -08:00
Robby Russell
5c13930832 Revert "Whoops, forgot to include this dummy precmd implementation."
This reverts commit a21525ba0c.
2009-11-09 07:33:38 -08:00
Robby Russell
fc3a3c72b1 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
eb05b61483 Removing gdb alias as it conflicts with an actual command for gdb. Closes #17 2009-11-08 15:27:17 -08:00
Robby Russell
286559d180 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 83907294d6.
2009-11-08 15:24:20 -08:00
meh
8f33231823 Fixed issue #25. 2009-11-09 07:15:06 +08:00
James Adam
a21525ba0c Whoops, forgot to include this dummy precmd implementation. 2009-11-09 07:14:52 +08:00
James Adam
14a1ce80bb 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). 2009-11-09 07:14:52 +08:00