Commit graph

4263 commits

Author SHA1 Message Date
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
Marc Cornellà
afdfe2391e 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
0a79f1e836 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
d427ac1ef9 znt: twice as fast searching 2015-11-30 19:22:34 +01:00
Sebastian Gniazdowski
ae84be7e31 znt: updated README.md 2015-11-30 18:30:05 +01:00
Marc Cornellà
a19ec1040e 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
39e4dfb6a6 Updated README.md 2015-11-30 18:05:55 +01:00
Sebastian Gniazdowski
c8852902a9 Renamed README.txt to README.md 2015-11-30 15:05:49 +01:00
Ionel Cristian Mărieș
711c1bcb40 Add support for "putty" $TERM in termsupport.zsh 2015-11-30 15:16:47 +02:00
Sebastian Gniazdowski
c2b4d9ff40 znt: n-history supports multi-line cmds and starts with current buffer 2015-11-30 10:48:30 +01:00
Marc Cornellà
afd28bf1fc Merge pull request #4368 from psprint/master
Update Zsh Navigation Tools plugin
2015-11-30 09:50:37 +01:00
Marc Cornellà
fea74b4b34 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à
ef031dfe8f 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à
46824b39a3 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
Marc Cornellà
d3b9520501 Merge branch 'apjanke-z-allow-custom'
Closes #4578
2015-11-27 17:12:45 +01:00
Andrew Janke
2205aa42aa z plugin: fix loading from custom location
The old implementation would attempt to load both the default and custom
implementations, with the custom one coming first, so it would get clobbered
by the default version.
2015-11-27 17:12:09 +01:00
Marc Cornellà
85d949550b Merge pull request #4181 from posva/z
Update z version to 5dc2a86
2015-11-27 17:09:05 +01:00
Marc Cornellà
96108e1130 Merge branch 'apjanke-histsubstr-update-2015_04_26' 2015-11-27 16:59:41 +01:00
Andrew Janke
7e398391db history-substring-search: update to upstream version 2015-09-28
Updates OMZ's copy to commit 2c295432175990c1bb4e90bc13f609daa67a25d6 from zsh-users/zsh-history-substring-search
2015-11-27 16:59:06 +01:00
Andrew Janke
d7e6ba0b66 history-substring-search: add a script to automatically update OMZ from the upstream repo 2015-11-27 16:59:06 +01:00
Marc Cornellà
befb5b66c5 Merge pull request #4634 from mfaerevaag/master
[wd] update minor version (v0.4.2)
2015-11-27 16:51:05 +01:00
Marc Cornellà
424800e881 Merge pull request #4539 from Gnouc/master
Update uninstall.sh
2015-11-27 16:08:32 +01:00
Marc Cornellà
90e1630163 Merge pull request #4443 from apjanke/github-update
Update github plugin to work with current hub versions
2015-11-27 16:07:00 +01:00
Marc Cornellà
dfe10af9fa Merge branch 'apjanke-termsupport-protect-subshell'
Fixes #4565
2015-11-27 15:59:59 +01:00
Andrew Janke
f0981d564a termsupport: protect subshell with quotes 2015-11-27 15:58:06 +01:00
Marc Cornellà
d2e1c71bfb Merge pull request #4534 from mcornella/fix-open_command-nohup-tmux
Drop the use of nohup on OSX for tmux compatibility
2015-11-27 15:50:48 +01:00
Marc Cornellà
ebfba0e539 Drop the use of nohup on OSX for tmux compatibility
Apparently `nohup` is not needed in OSX, and using it has the side
that it may break under tmux with the error

  nohup: can't detach from console: No such file or directory

For now, this commit only drops the use of `nohup` in OSX. But it
*may* not be necessary under other similar platforms.
2015-11-27 15:40:31 +01:00
WeeBull
b57ddd6a67 Use actual commit --amend command for Mercurial
Rather than trying to emulate `git commit --amend` using mercurial queues (which might have side effects if you're using MQ for other things) use the `commit --amend` command which was introduced in Mercurial 2.2 (2012-05-01).
2015-11-26 14:08:53 +00:00
Markus Faerevaag
7d9648e631 [wd] update minor version (v0.4.2) 2015-11-23 22:22:45 +01:00
Marc Cornellà
22632aac7c Merge pull request #3859 from gnagy/master
gradle plugin: also list tasks in subprojects
Cleanup gradle plugin file
2015-11-21 03:24:53 +01:00
Marc Cornellà
249d2229d4 Cleanup gradle plugin file
- Delete useless #!zsh
- Simplify gradle build file check
- Format comments and delete TODO stuff (already dealt with)
- Use `$()` syntax for cat commands
2015-11-21 03:16:34 +01:00
Gergely Nagy
950bbccd60 gradle plugin: also list tasks in subprojects 2015-11-21 03:16:34 +01:00
Marc Cornellà
64e1252bd5 Merge pull request #4623 from apjanke/dircycle-remove-redundant-bindings
dircycle: remove redundant key bindings
2015-11-20 18:08:11 +01:00
Marc Cornellà
5d8fd93cac Merge pull request #4617 from ahmadawais/patch-1
Removed Similar Aliases
2015-11-20 18:07:55 +01:00
Marc Cornellà
7627004a2f Merge pull request #4612 from stereodenis/patch-1
bundle outdated alias
2015-11-20 18:05:21 +01:00
Marc Cornellà
5289edcee5 Merge pull request #4592 from jstnlef/fix-weird-unstaged-behavior
Fixing strange git unstaged prompt behavior
2015-11-20 16:42:42 +01:00
Marc Cornellà
c120417336 Merge pull request #4619 from apjanke/mercurial-readme-tweak
Mercurial plugin: revise README
2015-11-20 16:40:47 +01:00
Andrew Janke
c8e280f2ab dircycle: remove redundant key bindings
In bindkey strings, "^[" and "\e" mean the same thing. They're both notations for Escape.
2015-11-18 07:02:22 -05:00
Andrew Janke
8ea773582f vi-mode: remove line-init/finish widgets that broken terminfo keybindings
The zle-line-init and zle-line-finish definitions here were broken with
respect to smkx/rmkx because their "if" logic had fallthrough where it shouldn't,
so the mode was left in rmkx all the time. This just removes those widgets
entirely, because they're now defined (correctly) in lib/keybindings.zsh and
not needed in plugins.
2015-11-18 06:06:20 -05:00
Ahmad Awais
8f823c6371 Update README.md 2015-11-17 12:23:39 +05:00
Andrew Janke
cca422eacf Mercurial plugin: revise README
Closes #4616
Changes the `plugins=(... mercurial ...)` to be closer to correct zsh syntax, removing commas and extra spaces.
Revises discussion on configuring themes to avoid sounding like users should modify the theme definition file in the main OMZ folder. Prioritizes the suggestion of using a theme which already supports hg_prompt_info.
2015-11-16 16:57:42 -05:00
Ahmad Awais
602cc62a5d Removed Similar Aliases
Two similar aliases which were causing issues.
2015-11-16 23:37:02 +05:00
Denis
bee79f0871 bundle outdated alias 2015-11-16 01:33:20 +03:00
Robby Russell
135c3763cc Merge pull request #4563 from danhawkins/master
use capit instead of shipit as shipit conflicts with npm package shipit
2015-11-12 10:37:00 +00:00