Commit graph

3792 commits

Author SHA1 Message Date
Marc Cornellà
e344f4c066 Merge pull request #4420 from apjanke/git-move-current_branch-to-core
Git: move current_branch() to core
2015-12-15 02:34:59 +01:00
Andrew Janke
9f552130bd Move current_branch() from git plugin to core lib/git.zsh
Fixes #4085: core -> plugin dependency issue.
Rename it to git_current_branch for clarity that it's git-specific.
Update all plugins that were calling it to use new name.
Fix variable leaks by making more variables in lib/git.zsh local.
Have lib/git.zsh use [[ ]] instead of [ ] everywhere.
2015-12-14 20:28:37 -05:00
Marc Cornellà
bfd2d8de24 Merge pull request #4498 from gfvcastro/alias-rake-stats
Add 'rake stats' alias.
2015-12-15 02:21:51 +01:00
Marc Cornellà
8d6fccef81 Merge pull request #4589 from apjanke/agnoster-powerline-char-stronger-warning
agnoster theme: stronger warning about changing SEGMENT_SEPARATOR character
2015-12-15 02:08:45 +01:00
Marc Cornellà
93c00cced5 Merge pull request #4451 from victor-torres/branch-plugin
Add branch plugin
2015-12-15 01:02:49 +01:00
Marc Cornellà
d988ee01c2 Merge pull request #4568 from blueyed/archlinux-improve-commands-lookup
archlinux: use $+commands instead of 'command -v' in a subshell
2015-12-15 01:01:47 +01:00
Victor Torres
fe63ed09b7 Updating speed test info and using zsh command line. 2015-12-14 20:58:29 -03:00
Victor Torres
cf5db83fac Implementing mcornella's suggestions in pull request 4451. 2015-12-14 17:39:26 -03:00
Marc Cornellà
531789e4fa Merge pull request #4628 from moyamo/master
Default to using terminfo to set the terminal title
2015-12-14 13:02:31 +01:00
Marc Cornellà
bd384a060b Merge pull request #4667 from dbohdan/patch-1
"fishy" theme: Shorten path .foo to .f, not .
2015-12-14 12:46:14 +01:00
Danyil Bohdan
b15918d414 "fishy" theme: Fix "~" use in prompt
Actually replace the value of the environment variable $HOME with
"~" instead of appending the tilde in front of the prompt.
2015-12-14 13:38:28 +02:00
moyamo
71deb74552 Fix indentation 2015-12-14 13:05:51 +02:00
moyamo
d779750341 Default to using terminfo to set the terminal title
Currently, the title is only set on supported terminals (i.e. xterm,
urxvt, screen etc.). Using terminfo entries to set the terminal title
adds support for many more terminals.
2015-12-14 12:59:04 +02:00
Marc Cornellà
6a8692da7c Merge pull request #4676 from bamarni/composer-stderr
[Composer] redirect stderr to /dev/null for completion commands
2015-12-14 11:25:43 +01:00
Marc Cornellà
4108c4895f Merge pull request #4690 from kaelig/patch-1
Update link to git completion
2015-12-14 02:21:32 +01:00
Kaelig
6190d3e8ba Point to the GitHub repository 2015-12-13 16:49:13 -08:00
Marc Cornellà
f5641594a9 Merge branch 'GNUletik-master'
Close #3627
2015-12-14 01:09:14 +01:00
desrum_m
95aa9bd97b Better research history with arrow keys
This change enables UP-arrow and DOWN-arrow full-line history completion.
For example, if you write `git clone` and press UP:

- Before this change,
  it will use the last command that starts with `git`.

- After this change,
  it will use the last command that starts with `git clone`.
2015-12-14 01:08:55 +01:00
Marc Cornellà
273063ad59 Merge pull request #4663 from psprint/master
znt: faster startup of tools using colorifying (e.g. n-history), optimized heap usage for older Zsh's
2015-12-14 00:41:40 +01:00
Marc Cornellà
d54d896346 Merge pull request #3966 from apjanke/fix-spectrum-ls
Make spectrum_ls implementation consistent with $FG and spectrum_bls
2015-12-13 21:39:13 +01:00
Marc Cornellà
4d154abaa9 Merge branch 'apjanke-histsubstr-double-bind'
Close #4193
2015-12-13 21:34:17 +01:00
Andrew Janke
45822e85c5 history-substring-search: bind arrows in both emacs and viins modes
This avoids an ordering dependency between this and the vi-mode plugin.
2015-12-13 21:34:02 +01:00
Marc Cornellà
11de60fde9 Merge pull request #3965 from apjanke/spectrum-hide-codes
Hide spectrum.zsh var values to avoid junky output to terminal
2015-12-13 21:28:44 +01:00
Marc Cornellà
4fbfb149d3 Add back the - alias to go to the previous directory
The alias was removed in #3564. A couple of users were using
it, so I'm adding it back.
2015-12-13 20:36:31 +01:00
Kaelig
b6997f6972 Update link to git completion 2015-12-11 15:36:55 -08:00
Marc Cornellà
5e950d4fa0 Merge pull request #4689 from apjanke/fix-non-numeric-versions
common-aliases: handle "dev" versions in version check
2015-12-11 22:02:50 +01:00
Marc Cornellà
45e42efa45 Merge pull request #4657 from hghwng/master
Recognize Firefox addon and Android packages.
2015-12-11 14:13:30 +01:00
Marc Cornellà
07fcbbe74c Merge pull request #4641 from WeeBull/patch-1
Use actual `commit --amend` command for Mercurial
2015-12-11 13:58:33 +01:00
Andrew Janke
c52f67746b common-aliases: handle "dev" versions in version check
Uses `is-at-least` instead of a numeric comparison hack, so versions with non-numeric bits like "4.5.0-dev5" don't throw errors.
2015-12-11 03:03:38 -05:00
Marc Cornellà
0cca3c0deb Merge pull request #4687 from gmccue/web-search-ecosia
Add Ecosia to web-search plugin.
2015-12-11 00:10:55 +01:00
Gregory McCue
fb5effd5d8 Add Ecosia to web-search plugin. 2015-12-10 22:58:53 +01:00
Sebastian Gniazdowski
357d57c541 znt: include some status information on top of the window 2015-12-07 14:15:09 +01:00
Bilal Amarni
0d45e771c8 [Composer] redirect stderr to /dev/null for completion commands 2015-12-06 13:56:10 +01:00
Marc Cornellà
ee343814b7 Use $HOME instead of tilde inside quotes
The tilde character is not expanded when inside quotes. See https://github.com/robbyrussell/oh-my-zsh/issues/4668#issuecomment-162213379
2015-12-05 18:49:26 +01:00
Marc Cornellà
3841115f54 Merge pull request #4654 from mcornella/termsupport-cleanup
Make code in lib/termsupport.zsh more readable
2015-12-05 13:49:52 +01:00
Sebastian Gniazdowski
c793baeadd znt: optimize heap usage for older Zsh's (e.g. 5.0.8) 2015-12-04 19:51:09 +01:00
Danyil Bohdan
2e3731c5b1 "fishy" theme: Shorten path .foo to .f, not .
When the current path is /home/user/.config/doublecmd the prompt
now reads "/h/u/.c/doublecmd", not "/h/u/./doublecmd" as was the
case. This matches what the Fish shell does.

Enclose the Perl snippet in single quotes instead of double quotes.
2015-12-04 20:19:15 +02:00
Sebastian Gniazdowski
89205f90e5 znt: faster startup of tools using colorifying (e.g. n-history) 2015-12-03 11:07:35 +01:00
Hugh Wang
a42a3eead7 Recognize Firefox addon and Android packages. 2015-12-02 12:05:05 +08:00
Marc Cornellà
c82f49e734 Merge pull request #4652 from psprint/master
znt: updated README.md, twice as fast searching
2015-12-02 01:33:23 +01:00
Marc Cornellà
4e306887c2 Cleanup update_terminalapp_cwd function 2015-12-01 14:05:38 +01:00
Marc Cornellà
eca912e51a Quote all variables in if statements 2015-12-01 14:05:18 +01:00
Marc Cornellà
103eb32721 Use a case structure to id terminal types 2015-12-01 14:04:12 +01:00
Marc Cornellà
00344f7628 Merge branch 'ferenczy-cygwin'
Close #2739
2015-12-01 13:53:48 +01:00
Dawid Ferenczy
63d7500cf1 Added setting of the window title in Cygwin 2015-12-01 13:52:52 +01:00
Marc Cornellà
b457ae2501 Merge pull request #4651 from ionelmc/patch-1
Add support for "putty" $TERM in termsupport.zsh
2015-12-01 00:05:17 +01:00
Marc Cornellà
f7ed7244c2 Merge pull request #3321 from moul/pr-tmux-cssh
[tmux-cssh plugin] Initial version
2015-12-01 00:04:12 +01:00
Ionel Cristian Mărieș
d55111f200 Support all kinds of putty-like terminal strings. 2015-12-01 00:59:35 +02:00
Marc Cornellà
78af29e5ed Merge branch 'marking-master'
Fixes #4597
2015-11-30 21:43:36 +01:00
Marc Cornellà
584e0a6ef9 Use shwordsplit in open_command() 2015-11-30 21:27:58 +01:00