Commit graph

3,775 commits

Author SHA1 Message Date
moyamo
b5486fea48 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à
eaf07f734e 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à
be7ea6078d Merge pull request #4690 from kaelig/patch-1
Update link to git completion
2015-12-14 02:21:32 +01:00
Kaelig
9ae26a8e71 Point to the GitHub repository 2015-12-13 16:49:13 -08:00
Marc Cornellà
3bfbf7976a Merge branch 'GNUletik-master'
Close #3627
2015-12-14 01:09:14 +01:00
desrum_m
b73d795357 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à
caf9c2c62d 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à
bed9733cf2 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à
97ebf5683d Merge branch 'apjanke-histsubstr-double-bind'
Close #4193
2015-12-13 21:34:17 +01:00
Andrew Janke
1618c33e7a 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à
4ca136461f 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à
2726a5cf3a 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
bbf6a2b582 Update link to git completion 2015-12-11 15:36:55 -08:00
Marc Cornellà
dc602715eb 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à
62c907d99c Merge pull request #4657 from hghwng/master
Recognize Firefox addon and Android packages.
2015-12-11 14:13:30 +01:00
Marc Cornellà
8812927e74 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
783efe299e 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à
63a1842708 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
4db3aa3a48 Add Ecosia to web-search plugin. 2015-12-10 22:58:53 +01:00
Sebastian Gniazdowski
c4a92d6cd2 znt: include some status information on top of the window 2015-12-07 14:15:09 +01:00
Bilal Amarni
69c2fa9538 [Composer] redirect stderr to /dev/null for completion commands 2015-12-06 13:56:10 +01:00
Marc Cornellà
9ed934a7bb 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à
79bab9974b 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
cb50a9e3bd znt: optimize heap usage for older Zsh's (e.g. 5.0.8) 2015-12-04 19:51:09 +01:00
Sebastian Gniazdowski
f1483da47a znt: faster startup of tools using colorifying (e.g. n-history) 2015-12-03 11:07:35 +01:00
Hugh Wang
c69d238b0c Recognize Firefox addon and Android packages. 2015-12-02 12:05:05 +08:00
Marc Cornellà
2c73a05bfb 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à
d0987434da Cleanup update_terminalapp_cwd function 2015-12-01 14:05:38 +01:00
Marc Cornellà
217514c0bd Quote all variables in if statements 2015-12-01 14:05:18 +01:00
Marc Cornellà
da0196849b Use a case structure to id terminal types 2015-12-01 14:04:12 +01:00
Marc Cornellà
13341c5d21 Merge branch 'ferenczy-cygwin'
Close #2739
2015-12-01 13:53:48 +01:00
Dawid Ferenczy
90d96921f5 Added setting of the window title in Cygwin 2015-12-01 13:52:52 +01:00
Marc Cornellà
68044b37c9 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à
715b952c56 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ș
680b43992a Support all kinds of putty-like terminal strings. 2015-12-01 00:59:35 +02:00
Marc Cornellà
98859b4583 Merge branch 'marking-master'
Fixes #4597
2015-11-30 21:43:36 +01:00
Marc Cornellà
67d0a72865 Use shwordsplit in open_command() 2015-11-30 21:27:58 +01:00
Marc Cornellà
ab1537a8a8 Add empty string parameter to start command
Otherwise `start` will confuse the first parameter as the title of
a new command prompt if the parameter contains whitespace. That is
because the command to be run will be:

    start "abc def"

which opens a new command prompt window with the title "abc def".
With the added empty string we force the start command to interpret
the passed parameter as the file / command:

    start "" "abc def"

which will be interpreted like `""` is the title and the rest is
the file or command to start.

-------

**NOTE:** this wouldn't be necessary if the start script in msys
was defined differently; that is, if it had the empty string
already incorporated in the script (/usr/bin/start), like so:

```diff
-cmd //c start "${@//&/^&}"
+cmd //c start "" "${@//&/^&}"
```

Notice however that this would make it impossible to use start
setting a different title, so it's probably best to leave it as is.

More info: http://sourceforge.net/p/msys2/tickets/14/

-------

The change `${(z)open_cmd}` is necessary to force zsh to split the
variable by the spaces and interpret it as separate words.

More info: http://zsh.sourceforge.net/FAQ/zshfaq03.html#l17
2015-11-30 21:21:28 +01:00
Mark Ingalls
e4150a683b make this work in the git-for-windows SDK
Added an option for the msys value of $OSTYPE
2015-11-30 21:01:15 +01:00
Sebastian Gniazdowski
130319c038 znt: twice as fast searching 2015-11-30 19:22:34 +01:00
Sebastian Gniazdowski
644c42747e znt: updated README.md 2015-11-30 18:30:05 +01:00
Marc Cornellà
f82bc0b1bc Merge pull request #4649 from psprint/master
znt: n-history supports multi-line cmds and starts with current buffer
Fixes #4648
2015-11-30 18:11:11 +01:00
Sebastian Gniazdowski
c628c622d8 Updated README.md 2015-11-30 18:05:55 +01:00
Sebastian Gniazdowski
e492378208 Renamed README.txt to README.md 2015-11-30 15:05:49 +01:00
Ionel Cristian Mărieș
9b63488296 Add support for "putty" $TERM in termsupport.zsh 2015-11-30 15:16:47 +02:00
Sebastian Gniazdowski
2b2a2d594c znt: n-history supports multi-line cmds and starts with current buffer 2015-11-30 10:48:30 +01:00
Marc Cornellà
87f6ee3419 Merge pull request #4368 from psprint/master
Update Zsh Navigation Tools plugin
2015-11-30 09:50:37 +01:00
Marc Cornellà
624ecc1a63 Fix open_command nohup call
There a syntax error if $cmd_var contains more than one word,
so we drop the current way to prepend nohup and use a simpler
if-else form.
2015-11-29 19:34:10 +01:00
Marc Cornellà
ebe1d9422b Merge pull request #4207 from mpscholten/master
Also accept any forms of yes as an answer to the "do you want to update?" prompt
2015-11-29 14:34:14 +01:00
Marc Cornellà
36e56a726f Merge pull request #4191 from apjanke/vi-mode-fix-smkx
vi-mode: fix smkx/rmkx by removing broken line-init/finish widgets
2015-11-29 14:31:35 +01:00