fish/doc_src
ridiculousfish 3f3b3a7006 Export arrays as colon delimited, and support path-style variables
This commit begins to bake in a notion of path-style variables.

Prior to this fix, fish would export arrays as ASCII record separator
delimited, except for a whitelist (PATH, CDPATH, MANPATH). This is
surprising and awkward for other programs to deal with, and there's no way
to get similar behavior for other variables like GOPATH or LD_LIBRARY_PATH.

This commit does the following:

1. Exports all arrays as colon delimited strings, instead of RS.

2. Introduces a notion of "path variable." A path variable will be
"colon-delimited" which means it gets colon-separated in quoted expansion,
and automatically splits on colons. In this commit we only do the exporting
part.

Colons are not escaped in exporting; this is deliberate to support uses
like

    `set -x PYTHONPATH "/foo:/bar"`

which ought to work (and already do, we don't want  to make a compat break
here).
2018-10-19 17:29:39 -07:00
..
2018-05-14 00:34:56 +02:00
2018-05-14 00:36:49 +02:00
2018-10-07 12:49:02 +02:00
2018-05-14 00:36:49 +02:00
2018-09-30 16:54:56 +02:00
2017-07-11 22:50:55 -07:00
2018-05-14 00:36:49 +02:00
2017-07-05 13:25:18 -07:00
2017-07-05 13:25:18 -07:00
2014-09-07 17:35:19 +01:00
2017-07-18 23:37:14 +02:00
2015-09-11 11:33:04 +02:00
2017-04-29 19:20:03 +08:00
2016-04-23 12:26:57 -07:00
2018-05-14 00:36:49 +02:00
2015-03-18 16:22:29 -04:00
2014-09-29 13:39:35 -07:00
2018-10-06 17:03:18 -07:00
2017-07-12 22:38:32 -07:00
2016-04-26 15:21:15 +02:00
2018-09-16 10:39:15 +02:00
2017-11-06 18:48:16 +01:00
2018-09-15 15:31:59 +02:00
2017-07-05 13:25:18 -07:00
2018-05-14 00:36:49 +02:00
2017-07-05 13:25:18 -07:00
2017-07-05 13:25:18 -07:00
2016-07-16 20:22:41 -07:00
2016-07-16 20:22:41 -07:00
2017-07-05 13:25:18 -07:00
2018-10-06 17:03:18 -07:00
2016-12-24 13:52:49 -08:00
2018-10-09 22:34:41 -05:00
2017-03-14 21:02:02 -07:00
2014-09-29 13:39:35 -07:00
2018-06-04 20:39:08 -07:00
2017-07-13 15:19:02 -07:00
2014-09-03 14:43:27 +01:00