Stefan Tatschner
c9f2c947e4
Added/modified some useful aliases.
12 years ago
Michael Orr
fbd479b68e
adding a check for git config option to disable git_prompt_info() on a per repo basis
13 years ago
Petter Abrahamsson
a7540844d5
Add support for colored ls output on OpenBSD
13 years ago
isquariel
5c73cb671b
Added nvm.zsh to detect current Node.js version
13 years ago
Pablo Rubianes
efc37c1f71
Modification to the frisk theme to work with the BZR lib
13 years ago
dejan
f057737e57
Added the spectrum_bls function, which prints all 256 colors set as the
...
background.
We can easily see which color we want to set when changing the PS1 shell variable,
since the colors are more distinctive.
13 years ago
dongweiming
77cf869605
Add option for show in the command execution time stamp in the history
13 years ago
Theodore Kokkoris
9703eba66e
Fixed slow behavior when using GitHub wrappers
13 years ago
Ehren Kret
ab7604e5c2
Escape both % and $ in the command line
...
Fixes issue #1884
13 years ago
Christopher Roach
4ff861ee11
Adding a fix for the DISABLE_UNTRACKED_FILES_DIRTY option.
13 years ago
Sébastien M-B
f77a545a4b
Uncomment l alias
13 years ago
Jeremy Attali
e41714d72c
Added option to allow untracked files as non dirty
...
In this commit, the option only works for git but it should not be to hard for
someone who knows svn to so the same.
This commit is largely inspired by @yoavweiss , I only added an option to use
it.
13 years ago
Felipe Contreras
d615f64374
git: fix parse_git_dirty()
...
If oh-my-zsh.hide-status is configured, the 'clean' code won't be
generated, and some themes might end up distorted. Let's generate the
'clean' code even when we don't want the show the dirty status.
Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com>
13 years ago
Christian Höltje
8890450684
This fixes checking for git untracked items
...
The grep expression was incorrect for normal grep. Adding
the `-E` option fixed the escaping of the question marks.
13 years ago
Flavius Aspra
3826c7bf85
allow setting a custom HISTFILE before oh-my-zsh is loaded
13 years ago
Philip Stark
56e835426b
fix git_prompt_status() to not say the repository has untracked files all the time
13 years ago
bertag
72ec24108a
Tweaked parse_git_dirty() in lib/git.zsh to support proper dirty/clean parsing against both git 1.6 and git 1.7+
13 years ago
Thomas Minor
3db22634a1
pipe git version check error to /dev/null (for when git doesn't exist)
13 years ago
Swanand Pagnis
fb3dc24ff4
Support for opening tabs and windows in the same This fixed #1498 for me on Mountain Lion
13 years ago
Yoav Weiss
9245a30868
Did a full circle and went back to # On branch master
...
# Changes to be committed:
# (use "git reset HEAD <file>..." to unstage)
#
# modified: git.zsh
#, ignoring untracked files, which seems to be the primary cause for slowness
13 years ago
Yoav Weiss
11576dd40b
Fixed dirty check to include files added to index
13 years ago
Toon Claes
fe4c2379c4
use pushdminus
13 years ago
Yoav Weiss
171a76a3c4
Closer to original status command, using SUBMODULE SYNTAX
13 years ago
Yoav Weiss
2e213b9b8f
Faster dirty git status check (using git diff)
13 years ago
Serdar Dalgıç
4c91f6d13e
Add autoenv plugin, which adopts using Kenneth Reitz's autoenv into
...
oh-my-zsh.
13 years ago
Cosmin Lu?ă
e5736d3910
Fixed coding style
13 years ago
Robby Russell
c5ecb4e136
Fixes #1489
...
Revert "Fixed Mac OS X Terminal.app related issue with extra newlines being printed out sometimes"
This reverts commit 8f89d4d5a5 .
13 years ago
Cosmin Lu?ă
fa355a798c
Fixed issue with NetBSD's ls
13 years ago
MAD
b9a989fea5
Add Stash toogle to display if there's some stash or not in `git_prompt_status`
13 years ago
Trae Robrock
fe094712fb
resolving conflict in termsupport plugin
14 years ago
Alexander Simonov
27841ca7c1
Set default for rvm prompt prefix/suffix
14 years ago
Alexander Simonov
30687c4147
Fix RVM loading and RVM ruby version info
14 years ago
CHH
5b2ca3875a
Improved statistics functions, effect:
...
1 1124 24.6006% c
2 985 21.5583% git
3 343 7.50711% rails
4 328 7.17881% cd
5 314 6.8724% rspec
6 257 5.62486% la
7 197 4.31167% rake
8 154 3.37054% s
9 109 2.38564% ..
10 95 2.07923% rvm
11 68 1.48829% guard
12 36 0.787919% bundle
13 29 0.634712% ssh
14 28 0.612826% pry
15 27 0.590939% open
16 26 0.569052% middleman
17 26 0.569052% gem
18 24 0.525279% rm
19 24 0.525279% heroku
20 23 0.503392% nvm
14 years ago
Felix Dreissig
174c9177aa
Replace hardcoded key escape sequeneces with dynamic ones from terminfo.
14 years ago
Felix Dreissig
ff0cafa14d
Make sure the terminal is always in application mode when zle is active.
14 years ago
Mat Schaffer
3839c6e9e6
Don't clobber standard Esc+. behavior
...
Esc+. works as "last arg" on both bash and zsh. Seems like a shame to introduce a new standard.
Conflicts:
lib/key-bindings.zsh
14 years ago
Kyle West
f7708d4181
forgot to save before committing. doh
14 years ago
Kyle West
68cec79d32
Added documentation to key bindings.
...
Conflicts:
lib/key-bindings.zsh
14 years ago
Felix Dreissig
daa6ecebc1
Set the '-R' option for less not in $PAGER, but as $LESS.
14 years ago
Markus Scherer
43bd46b780
fix title setting bug in xterm and urxvt
...
Before this patch, commands containing %-signs set the title wrong
(urxvt and xterm) [1] and produce strange output in urxvt [2].
test for bug 1:
> sleep 10 && echo %
sets title to "sleep 10 && echo %<<"
> sleep 10 && echo %f
doesn't change the title at all
test for bug 2 (only urxvt):
> echo %f
39m%f
^^^^^----- output
14 years ago
Trae Robrock
a7fb668078
Make rvm prompt function a bit cleaner
14 years ago
Trae Robrock
3d1b788d8a
Fixing the rvm_prompt_info command, now it will not show empty parens if no rvm is currently being used
14 years ago
Yannik Stein
9172b3a89f
fix typo in cd-wrapper
14 years ago
Alexis Letessier
9af7f86299
Correct variable used for global ssh known host completion
14 years ago
Ted Vessenes
027fcccc92
Make git use sha when branch name is missing.
14 years ago
Caio Romão
a3c2a2f6e8
Add branch status support to git_prompt_status
...
This patch makes git_prompt_status support three new status variables:
- ZSH_THEME_GIT_PROMPT_AHEAD
- ZSH_THEME_GIT_PROMPT_BEHIND
- ZSH_THEME_GIT_PROMPT_DIVERGED
With these extra variables it's easy to see (1) if you have commits in
your local branch that weren't pushed to the remote (AHEAD), (2) if
there are commits in the remote that you haven't merged/rebased yet
(BEHIND) or (3) if you have local unpushed commits AND the remote has
some commits you haven't merged yet (DIVERGED).
Refer to the first line displayed on `git status -b --porcelain`.
An example setup in a .zsh-theme file would be:
ZSH_THEME_GIT_PROMPT_AHEAD="↑"
ZSH_THEME_GIT_PROMPT_BEHIND="↓"
ZSH_THEME_GIT_PROMPT_DIVERGED="↕"
14 years ago
Morgan Larosa
682961e930
Add a configuration option to disable autocorrect
14 years ago
Bjarki Ágúst Guðmundsson
75029cda2a
Added a "please" alias for sudo
14 years ago
Sébastien M-B
18cb11903f
Comment l alias
14 years ago
nXqd
4f9cfee9bd
avoid VCS folders
14 years ago