Commit graph

3,733 commits

Author SHA1 Message Date
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
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
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
Marc Cornellà
1ce858d649 Merge branch 'apjanke-z-allow-custom'
Closes #4578
2015-11-27 17:12:45 +01:00
Andrew Janke
adb79cd310 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à
db8a814e69 Merge pull request #4181 from posva/z
Update z version to 5dc2a86
2015-11-27 17:09:05 +01:00
Marc Cornellà
db4025d52b Merge branch 'apjanke-histsubstr-update-2015_04_26' 2015-11-27 16:59:41 +01:00
Andrew Janke
7dea9db5e4 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
5896362d63 history-substring-search: add a script to automatically update OMZ from the upstream repo 2015-11-27 16:59:06 +01:00
Marc Cornellà
5d0faeea31 Merge pull request #4634 from mfaerevaag/master
[wd] update minor version (v0.4.2)
2015-11-27 16:51:05 +01:00
Marc Cornellà
3e5e933e3a Merge pull request #4539 from Gnouc/master
Update uninstall.sh
2015-11-27 16:08:32 +01:00
Marc Cornellà
d231a8c69e 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à
bb39dbf7c1 Merge branch 'apjanke-termsupport-protect-subshell'
Fixes #4565
2015-11-27 15:59:59 +01:00
Andrew Janke
0fbdb11954 termsupport: protect subshell with quotes 2015-11-27 15:58:06 +01:00
Marc Cornellà
b89fa31b9c 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à
085206059f 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
Markus Faerevaag
7a2816ab63 [wd] update minor version (v0.4.2) 2015-11-23 22:22:45 +01:00
Marc Cornellà
f3f23b0c69 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à
07be3cf5ac 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
5e03796aea gradle plugin: also list tasks in subprojects 2015-11-21 03:16:34 +01:00
Marc Cornellà
3b9cec8efb 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à
8d8c589309 Merge pull request #4617 from ahmadawais/patch-1
Removed Similar Aliases
2015-11-20 18:07:55 +01:00
Marc Cornellà
b2b4755eb8 Merge pull request #4612 from stereodenis/patch-1
bundle outdated alias
2015-11-20 18:05:21 +01:00
Marc Cornellà
67c6843ca7 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à
e228a2e45f Merge pull request #4619 from apjanke/mercurial-readme-tweak
Mercurial plugin: revise README
2015-11-20 16:40:47 +01:00
Andrew Janke
02295ef386 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
55c39807dd 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
33b4e2cd92 Update README.md 2015-11-17 12:23:39 +05:00
Andrew Janke
d748947a4f 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
ffe80e0dde Removed Similar Aliases
Two similar aliases which were causing issues.
2015-11-16 23:37:02 +05:00
Denis
638d4495f1 bundle outdated alias 2015-11-16 01:33:20 +03:00
Robby Russell
d73ce93b6a 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
Robby Russell
6542b200af Merge pull request #4598 from syk0saje/patch-1
typo: able take -> able to take
2015-11-12 10:29:53 +00:00
Pepe Bawagan
53ce7edcc6 typo: able take -> able to take 2015-11-10 18:51:55 +08:00
Justin LeFebvre
51cf730bf5 I noticed that for certain projects with unstaged changed I would get a 'U' character instead of the '●' character. This should fix that. 2015-11-07 20:05:30 -05:00
Andrew Janke
6ca7a55d1b Update github plugin to work with current hub versions
Removes old completion setup that breaks with current _git and _hub completions.
Ruby is no longer required by hub; removes that test.
Does not define new completions for hub; they are now defined by hub itself.
Change the functions to use hub to create the repos on GitHub.
Add error checking to the functions.
Removes apparently-unused _github completion definition.
2015-11-06 04:10:33 -05:00
Eduardo San Martin Morote
1dd335d640 Updated z version
Closes #3248
Closes #4570
2015-11-04 16:23:48 +01:00
LE Manh Cuong
d1b92a2a70 Removing source command 2015-11-04 20:36:53 +07:00
Sebastian Gniazdowski
87100db202 Initial commit of Zsh Navigation Tools 2015-11-01 16:10:55 +01:00
Danny Hawkins
7c40861978 use capit instead of shipit as shipit conflicts with npm package shipit 2015-10-30 08:11:38 +00:00
LE Manh Cuong
ab82810092 Change coding style 2015-10-23 14:15:03 +07:00