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-09-30 16:54:56 +02:00
2018-09-30 16:54:56 +02:00
2018-09-30 16:54:56 +02:00
2018-10-06 17:03:18 -07:00
2018-10-06 17:03:18 -07:00
2018-10-06 17:03:18 -07:00
2016-12-19 17:44:54 -08:00
2018-02-25 21:29:24 +01:00
2018-02-25 21:29:24 +01:00
2018-02-25 21:29:24 +01:00
2018-04-01 13:48:21 -07:00
2014-09-21 21:03:44 -07:00
2014-09-21 21:03:44 -07:00
2017-07-16 15:13:39 -07:00
2014-12-23 15:46:47 -08:00
2017-07-25 12:44:26 -07:00
2018-09-03 14:13:31 -07:00
2017-06-16 21:01:56 -07:00
2018-04-01 13:48:21 -07:00
2018-03-04 15:33:36 -06:00
2017-01-31 22:10:53 -08:00
2017-01-31 22:10:53 -08:00
2018-08-04 15:32:09 -07:00
2018-08-04 15:32:09 -07:00
2018-08-04 15:32:09 -07:00
2017-02-20 18:43:13 -08:00
2018-04-01 13:48:21 -07:00
2017-12-21 15:48:48 -08:00
2016-12-20 16:46:33 -08:00
2017-04-05 15:31:13 -07:00
2017-04-05 15:31:13 -07:00
2017-04-05 15:31:13 -07:00
2018-05-06 11:20:15 -07:00
2018-03-31 16:54:50 -07:00
2018-01-07 15:00:44 +01:00
2005-09-20 23:31:55 +10:00
2010-09-18 10:18:26 +08:00
2005-09-20 23:31:55 +10:00
2005-09-20 23:31:55 +10:00
2018-03-31 16:54:50 -07:00
2016-11-17 14:53:50 -08:00
2018-04-01 13:48:21 -07:00
2014-07-13 19:11:29 -07:00
2017-07-25 12:44:26 -07:00
2018-09-03 14:13:31 -07:00
2017-03-28 16:28:24 -07:00
2017-03-28 16:28:24 -07:00
2017-03-28 16:28:24 -07:00
2018-09-15 11:07:29 +02:00
2017-11-16 10:48:21 -08:00
2017-11-16 10:48:21 -08:00