Sven Lito
dc12853b0c
merging in changes from robby's repo
16 years ago
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
16 years ago
Irakli Gozalishvili
8059c0727a
Improving git plugin so it can display much more data.
16 years ago
Trevor Creech
b905630366
Match xterm-color, the default OS X terminal
16 years ago
Tomas Kramar
74b2c5d75a
Do not complete named-directories
16 years ago
Matt Cable
50fb2d037e
Move dirpersist to plugin
16 years ago
Matt Cable
181a2ed537
Escape some metachars that trip up .zdirstore script
16 years ago
Matt Cable
21e2a913bf
Escape &'s in path name. Need to find general function for escaping all
...
shell metacharacters.
16 years ago
Matt Cable
870551e960
Alias popd to remove deleted dirs from persistance
16 years ago
Matt Cable
a0a8ba666b
Initial pass at pesistant directory stack
16 years ago
Robby Russell
99f159e0a7
Removing '.' alias as it is overwriting a bash/zsh feature. Closes #63
16 years ago
James Rowe
6efc79c74e
Don't correct hpodder commands.
16 years ago
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.
16 years ago
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.
16 years ago
James Rowe
6774490a46
Don't auto-correct ebuild commands.
...
It breaks "ebuild <foo> manifest", as there are Manifest files in the directory.
16 years ago
Robby Russell
27904c117c
Moving current_branch() to git plugin
16 years ago
Robby Russell
89bd2bf317
Moving some rails and osx-specific functions to their corresponding plugin files
16 years ago
Robby Russell
455669e976
Removing legacy completion code
16 years ago
Robby Russell
ab2c0744ab
Removing rake completion from lib/ as it was moved to rails plugin
16 years ago
Robby Russell
3cf9ab722e
Initial implementation of a new plugin system, so that people can managed which aliases/functions they want.
16 years ago
Alan Harper
ba9c78fc9b
Import rvm prompt
16 years ago
Mike Hostetler
93f9825b79
share history with your zsh's on the same host
16 years ago
Dylan Clendenin
9efc086fb3
two aliases set to 'ss', clobbering rails script/server
16 years ago
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.
16 years ago
Robby Russell
447da5816e
Removing rake autocompletion as this is apparently baked into recent versions of zsh
16 years ago
canthiswait
e8ef16570f
escape sequences so rprompt doesn't mess up
16 years ago
canthiswait
02bd8ab53e
Added scpectrum script for easy 256 color theaming
16 years ago
Andy Fowler
3c87d48362
makes git status prompt 4x faster
...
(via git status -s, benchmarked)
16 years ago
John Reese
99d72cad55
Ignore errors from compaudit when using `sudo -s`
16 years ago
Tomas Kramar
3e1d5fa316
Make Shift+Tab move backwards in the menu
16 years ago
Martin Klepsch
f9509f365b
Putting Git related aliases into git.zsh to have them in context.
16 years ago
Dale Campbell
90627d3d1c
adding quotes to tab()
16 years ago
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.
16 years ago
Robby Russell
98d56a3097
Adding a nocorrect for the heroku command as it was getting triggered by heroku logs.
16 years ago
To1ne
e429ff9e2b
no correction on gist
17 years ago
To1ne
dfb3fb5a0a
No correction on mkdir + removed duplicate nocorrect mv
17 years ago
Toon Claes
065ae00673
Revert
17 years ago
Toon Claes
dca4651cee
Completion from history
17 years ago
Robby Russell
473dd3b212
Adding current_branch function, which can be used like: git pull origin master
17 years ago
Toon Claes
147f1dc702
Modifying changes for issue 25, to fix issue 27
17 years ago
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 .
17 years ago
Robby Russell
5c13930832
Revert "Whoops, forgot to include this dummy precmd implementation."
...
This reverts commit a21525ba0c .
17 years ago
Robby Russell
fc3a3c72b1
Only using the contents of .ssh/known_hosts when the file exists for ssh/scp auto-completion. Closes issue #20
17 years ago
Robby Russell
eb05b61483
Removing gdb alias as it conflicts with an actual command for gdb. Closes #17
17 years ago
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 .
17 years ago
meh
8f33231823
Fixed issue #25 .
17 years ago
James Adam
a21525ba0c
Whoops, forgot to include this dummy precmd implementation.
17 years ago
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).
17 years ago
Toon Claes
bbef2db92b
parse error fix
17 years ago
Toon Claes
08fcf7dc39
Enabled colors in ls and made it possible to theme them
17 years ago