ohmyzsh/lib
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
..
bzr.zsh
clipboard.zsh clip*: add xsel support 2015-10-05 05:13:11 -04:00
compfix.zsh
completion.zsh Switch off line wrapping in case dots occupy extra line 2015-09-05 22:47:50 +02:00
correction.zsh
diagnostics.zsh diagnostics: fix for reserved-word changes in zsh 5.1 2015-10-08 22:31:39 -04:00
directories.zsh
functions.zsh Add empty string parameter to start command 2015-11-30 21:21:28 +01:00
git.zsh fix indentation 2015-09-23 11:14:14 +02:00
grep.zsh Correct repo dir 2015-09-23 18:47:09 -04:00
history.zsh
key-bindings.zsh
misc.zsh Disable bracketed-paste-magic in zsh 5.1.1, where it is buggy 2015-10-08 22:13:42 -04:00
nvm.zsh
prompt_info_functions.zsh
spectrum.zsh
termsupport.zsh termsupport: protect subshell with quotes 2015-11-27 15:58:06 +01:00
theme-and-appearance.zsh Merge pull request #2751 from drm00/fix-openbsd-colorls 2015-09-19 08:46:13 -07:00