* blessed/master:
Add Ecosia to web-search plugin.
Use $HOME instead of tilde inside quotes
Cleanup update_terminalapp_cwd function
Quote all variables in if statements
Use a case structure to id terminal types
* upstream/master: (37 commits)
Added setting of the window title in Cygwin
Support all kinds of putty-like terminal strings.
Use shwordsplit in open_command()
Add empty string parameter to start command
make this work in the git-for-windows SDK
znt: twice as fast searching
znt: updated README.md
Updated README.md
Renamed README.txt to README.md
Add support for "putty" $TERM in termsupport.zsh
znt: n-history supports multi-line cmds and starts with current buffer
Fix open_command nohup call
z plugin: fix loading from custom location
history-substring-search: update to upstream version 2015-09-28
history-substring-search: add a script to automatically update OMZ from the upstream repo
termsupport: protect subshell with quotes
Drop the use of nohup on OSX for tmux compatibility
[wd] update minor version (v0.4.2)
Cleanup gradle plugin file
gradle plugin: also list tasks in subprojects
...
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
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.
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.