Mikhail S. Pobolovets
49161e7847
Add missing `command` wrapper for git
...
Signed-off-by: Mikhail S. Pobolovets <styx.mp@gmail.com>
12 years ago
Will Boyce
09fdf76311
ignore usernames beginning with underscore
12 years ago
ncanceill
7fbbf28e6e
return 0 when not a git repo
...
before, 128 was returned, which could display an error,
but out of a git repo this should exit silently
fixes #2226
12 years ago
Andrea De Pasquale
12324856c6
Added ssh-like mosh window title
...
Display the hostname when running Mosh (http://mosh.mit.edu/ ).
Same thing as displaying "hostname" when running "ssh hostname".
12 years ago
r3dDoX
514693125b
added prefix/suffix variable for customizability
12 years ago
r3dDoX
59c8fcc712
added new function to get number of commits ahead of remote
12 years ago
r3dDoX
3c485db8c7
replaced hardcoded origin/{branch-name} with @{upstream} which gets the upstream branch since git 1.7.0
12 years ago
Simon Courtois
b64e695b35
Ordering nocorrect aliases alphabetically
12 years ago
Simon Courtois
cd8d5c4410
Defining nocorrect aliases only when ENABLE_CORRECTION is "true"
...
This commit move the nocorrect aliases definition so they're called
only when the user set ENABLE_CORRECTION to "true" to activate commands
autocorrection.
12 years ago
Dmitriy
9385b3ee0a
set exclude-dir or exclude grep flags only if available
12 years ago
Andre Eriksson
9650861e56
Fix broken reverse-menu-complete keybinding.
...
Since e537ee9 , the reverse-menu-complete keybinding has no longer been
properly bound (it was accidentally bound to the delete key).
This commit again binds it to shift-tab.
12 years ago
Marc Cornellà
5137e0e509
Escape % in $CMD variable
...
Fixes formatting on some rare cases when a percent ends up
in the $CMD variable, like these below:
- When assigning a variable, $CMD ends up with the second parameter;
in this case, $CMD will contain '+%s%N', messing with the syntax:
$ a=`date +%s%N`
- A function (or command in general) that contains a percent symbol:
$ to\%() { echo $(( $1 * 100 / $3))\% } # $CMD=to%()
$ to% 2 of 10 # $CMD=to%
12 years ago
LFDM
94a5cc5c63
Updates spectrum.zsh
12 years ago
Marc Cornellà
c0e3c553bc
Fix export syntax of $GREP_OPTIONS
...
Fixes #2641 , #2642
12 years ago
nXqd
d2a765e12d
avoid VCS folders
12 years ago
Daniel Hahler
b578eea273
`setopt append_history` is not necessary.
...
Especially given the inc_append_history option, it is not necessary to
set the (default) append_history option.
12 years ago
Marc Cornellà
12e30faaca
Fix export syntax of $GREP_OPTIONS
...
Fixes #2641 , #2642
12 years ago
Alexei Danchenkov
32a7824182
Added a forward-delete fallback to bind Delete key
...
Delete key (of Fn+Delete on Mac) would print "~" instead of deletion.
12 years ago
Alexei Danchenkov
c5413d7dd1
Aligned comments
12 years ago
Alexei Danchenkov
55a9d685fd
Update key-bindings.zsh
...
Aligned comments
12 years ago
Alexei Danchenkov
e537ee9db9
added terminfo keys verification
12 years ago
Mariusz Fik
b56e8fb478
Ignore more users in ssh completion.
...
Signed-off-by: Mariusz Fik <fisiu@opensuse.org>
12 years ago
Daniel Hahler
71d9420637
Use zsh's default for ':completion:*:hosts'
...
The manual configuration of ':completion:*:hosts' causes some problems
(e.g. issue #1337 ), and misses useful information (especially from
~/.ssh/known_hosts; issue #690 and issue #1009 ).
The best option appears to be using zsh's default configuration for
':completion:*:hosts'.
While rebasing this for a new pull request (#1498 got closed by accident
and then requests to re-open it got ignored), it also drops the `users
off` setting: completion of user names can be useful, and the commit
adding it (c4434d2 ) does not state why.
12 years ago
Kaiwen Xu
b71a2b9d0f
Removed unsolicited aliases.
...
Those aliases should be in user's .zshrc file, instead of being default.
12 years ago
Marc Cornellà
a951600b4e
Avoid 'title:parse error' with single quotes in $CMD
...
Fixes #2182
12 years ago
Marc Cornellà
3e5de21dc5
Revert previous commit, escape %
12 years ago
Marc Cornellà
b73ced397f
Use single quotes also in $LINE definiton
12 years ago
Marc Cornellà
b0fbe0d11a
Avoid evaluating special chars in $LINE on title command ( fixes #2234 )
12 years ago
Huang, Tao
217d8f0540
`fc -l 1` instead of `history` in zsh_stats #2501
...
$HIST_STAMP breaks zsh_stats. see #2501
12 years ago
LFDM
b0b79e0aba
No need to eval in rvm_prompt_info!
...
Just activate word-splitting.
12 years ago
LFDM
85fde31991
Renames the file to prompt_info_functions.zsh
12 years ago
LFDM
082607c165
Adds documentation.
12 years ago
LFDM
72392a2c27
Adds all other dummy implementations.
12 years ago
LFDM
6a40557a8b
Updates spectrum.zsh
12 years ago
LFDM
c6aacf611d
Refactors ruby_prompts.zsh
12 years ago
LFDM
8a887c5052
Joins ruby prompt files and adds ruby_prompt_info.
12 years ago
LFDM
7aa766168c
Adds chruby_prompt_info dummy function.
12 years ago
LFDM
ae6ded5ad7
Returns false when rbenv is not found.
12 years ago
LFDM
468b24a8d5
Returns false when rvm is not found.
12 years ago
LFDM
bbbff94cca
Fixes rvm_prompt_info() in lib/rvm.zsh
12 years ago
Michael Orr
9b811fb625
accidentally blew away a git config setting used for another purpose, renaming in order to distinguish
12 years ago
Bob Bonifield
f082d7a245
Making auto-correction off by default
...
- Allows for the user to turn on auto-correction using the
$ENABLE_CORRECTION variable
- Adds aliases regardless of variable assignment to aid users that use
setopt to turn correction back on in their zshrc
12 years ago
Stefan Tatschner
c9f2c947e4
Added/modified some useful aliases.
13 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