Commit graph

272 commits

Author SHA1 Message Date
Mariusz Fik
e74934b4af Ignore more users in ssh completion.
Signed-off-by: Mariusz Fik <fisiu@opensuse.org>
2014-11-28 14:36:31 +01:00
Daniel Hahler
186ba1161c 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.
2014-11-28 14:36:31 +01:00
Kaiwen Xu
e3c5b0c837 Removed unsolicited aliases.
Those aliases should be in user's .zshrc file, instead of being default.
2014-11-28 14:36:30 +01:00
Marc Cornellà
aaafe52301 Avoid 'title:parse error' with single quotes in $CMD
Fixes #2182
2014-11-28 14:36:29 +01:00
Marc Cornellà
4e635728d7 Revert previous commit, escape % 2014-11-28 14:36:29 +01:00
Marc Cornellà
e109741135 Use single quotes also in $LINE definiton 2014-11-28 14:36:29 +01:00
Marc Cornellà
b864492570 Avoid evaluating special chars in $LINE on title command (fixes #2234) 2014-11-28 14:36:29 +01:00
Huang, Tao
14ddfe4841 fc -l 1 instead of history in zsh_stats #2501
$HIST_STAMP breaks zsh_stats. see #2501
2014-11-28 14:36:28 +01:00
LFDM
6629d2c7a6 No need to eval in rvm_prompt_info!
Just activate word-splitting.
2014-11-28 14:36:27 +01:00
LFDM
270ae21422 Renames the file to prompt_info_functions.zsh 2014-11-28 14:36:27 +01:00
LFDM
de0cabd180 Adds documentation. 2014-11-28 14:36:27 +01:00
LFDM
af4245d123 Adds all other dummy implementations. 2014-11-28 14:36:27 +01:00
LFDM
0262abd54b Updates spectrum.zsh 2014-11-28 14:36:27 +01:00
LFDM
30a87b44d0 Refactors ruby_prompts.zsh 2014-11-28 14:36:24 +01:00
LFDM
cec97ea2d6 Joins ruby prompt files and adds ruby_prompt_info. 2014-11-28 14:36:24 +01:00
LFDM
15c64fedb5 Adds chruby_prompt_info dummy function. 2014-11-28 14:36:24 +01:00
LFDM
a7804cda65 Returns false when rbenv is not found. 2014-11-28 14:36:24 +01:00
LFDM
78005e6430 Returns false when rvm is not found. 2014-11-28 14:36:23 +01:00
LFDM
f7d46ec4a6 Fixes rvm_prompt_info() in lib/rvm.zsh 2014-11-28 14:36:23 +01:00
Michael Orr
90be3d9f05 accidentally blew away a git config setting used for another purpose, renaming in order to distinguish 2014-11-28 14:36:23 +01:00
Bob Bonifield
fdd01e36cb 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
2014-11-28 14:36:23 +01:00
Stefan Tatschner
87e6505f67 Added/modified some useful aliases. 2014-11-28 14:36:22 +01:00
Michael Orr
f9b3711624 adding a check for git config option to disable git_prompt_info() on a per repo basis 2014-11-28 14:36:22 +01:00
Petter Abrahamsson
bed736e74f Add support for colored ls output on OpenBSD 2014-11-28 14:36:21 +01:00
isquariel
e1e3dced73 Added nvm.zsh to detect current Node.js version 2014-11-28 14:36:21 +01:00
Pablo Rubianes
276b2f9efe Modification to the frisk theme to work with the BZR lib 2014-11-28 14:36:21 +01:00
dejan
7a1717ab6d 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.
2014-11-28 14:36:10 +01:00
dongweiming
792588b7d6 Add option for show in the command execution time stamp in the history 2014-11-28 14:36:04 +01:00
Felix Dreissig
96cd8784be Replace hardcoded key escape sequeneces with dynamic ones from terminfo. 2014-11-28 14:36:03 +01:00
Felix Dreissig
9f2dd08ad5 Make sure the terminal is always in application mode when zle is active. 2014-11-28 14:36:03 +01:00
Mat Schaffer
e643795ac8 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
2014-11-28 14:36:03 +01:00
Kyle West
132ec7ec0b forgot to save before committing. doh 2014-11-28 14:36:03 +01:00
Kyle West
407862cddf Added documentation to key bindings.
Conflicts:
	lib/key-bindings.zsh
2014-11-28 14:36:03 +01:00
nXqd
96d2dcac37 avoid VCS folders 2014-11-28 14:35:58 +01:00
mapc
8685353b1c Add helper to easily define default values for variables and env variables. 2014-11-28 14:35:57 +01:00
mapc
8a8a8a35bc Add helper to get the value of an alias only 2014-11-28 14:35:57 +01:00
Daniel Hahler
d256447474 setopt append_history is not necessary.
Especially given the inc_append_history option, it is not necessary to
set the (default) append_history option.
2014-11-28 14:35:46 +01:00
Randy Hancock
a1c07b7554 Fix edit-command-line binding
This binding doesn't work when the edit-command-line.zsh file is loaded
after the key-bindings.zsh file because 'bindkey -e' in key-bindings.zsh
resets the binding. Moving the bindings to they key-bindings.zsh file
and removing edit-command-line.zsh.
2014-11-28 14:32:38 +01:00
Robby Russell
4f8d6a8b15 Merge pull request #1773 from essembeh/master
Uncomment l alias
2013-06-25 09:10:05 -07:00
Robby Russell
0f2b24c1b8 Merge pull request #1887 from tgkokk/git-slow-fix
Fixed slow behavior when using GitHub wrappers
2013-06-21 07:07:26 -07:00
Theodore Kokkoris
9703eba66e Fixed slow behavior when using GitHub wrappers 2013-06-12 20:04:08 +03:00
Ehren Kret
ab7604e5c2 Escape both % and $ in the command line
Fixes issue #1884
2013-06-11 11:37:35 -07:00
Christopher Roach
4ff861ee11 Adding a fix for the DISABLE_UNTRACKED_FILES_DIRTY option. 2013-05-19 12:55:10 -07:00
Sébastien M-B
f77a545a4b Uncomment l alias 2013-04-28 16:34:36 +02:00
Robby Russell
b6ea876971 Merge pull request #690 from essembeh/master
Adding ~/.ssh/config parsing for host list and theme.
2013-04-23 21:27:51 -07:00
Robby Russell
8890df1251 Merge pull request #922 from sbfaulkner/master
patch rbenv support for themes
2013-04-23 20:57:24 -07:00
Robby Russell
81ed0c4115 Resolving conflict with merge of #970 2013-04-23 20:44:35 -07:00
Robby Russell
685c746cc7 Merge pull request #1565 from serdardalgic/autoenv-plugin
Add autoenv plugin, which adopts using Kenneth Reitz's autoenv.
2013-04-23 20:33:50 -07:00
Robby Russell
a2c8db9eb3 Resolving conflict in #1266 merge 2013-04-23 20:30:21 -07:00
Robby Russell
7cdb6d667c Resolving conflict when merging in 1570 2013-04-23 20:21:18 -07:00