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-04-09 01:08:56 +02:00
2018-05-14 00:36:49 +02:00
2018-10-07 12:49:02 +02:00
2016-06-18 10:03:26 -07:00
2018-05-14 00:36:49 +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
2014-09-03 14:43:26 +01:00
2014-09-03 14:43:26 +01:00
2014-09-03 14:43:26 +01: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
2018-05-14 00:36:49 +02:00
2018-06-29 21:28:46 +08:00
2014-09-07 17:35:19 +01:00
2017-07-26 13:18:34 -07:00
2018-05-14 00:36:49 +02:00
2018-05-14 00:36:49 +02:00
2018-05-14 00:36:49 +02:00
2017-07-18 23:37:14 +02:00
2016-03-23 13:36:00 -07: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
2014-09-03 14:43:26 +01:00
2018-03-08 12:55:35 +01:00
2017-08-14 18:18:10 -07:00
2018-05-14 00:36:49 +02:00
2014-09-03 14:43:26 +01: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
2018-03-31 12:12:27 -07:00
2017-06-20 17:18:59 -07:00
2014-09-03 14:43:26 +01:00
2016-07-05 20:22:44 -07:00
2017-07-04 22:55:47 +02:00
2017-07-11 22:50:55 -07:00
2017-07-12 22:38:32 -07:00
2014-09-03 14:43:26 +01:00
2016-04-04 15:23:56 -07:00
2014-09-03 14:43:24 +01:00
2016-04-26 15:21:15 +02:00
2018-09-16 10:39:15 +02:00
2017-09-08 21:14:26 -07:00
2018-07-09 20:55:55 -07:00
2018-01-18 18:03:52 +01:00
2015-09-11 11:33:04 +02:00
2018-05-08 11:17:07 +02:00
2018-03-10 02:27:25 -08:00
2016-11-25 18:35:22 -08:00
2017-11-06 18:48:16 +01:00
2016-05-24 17:16:30 -07:00
2018-10-19 17:29:39 -07:00
2015-02-01 18:18:34 +08:00
2018-03-04 15:21:31 -06:00
2018-07-14 15:43:37 +08:00
2018-09-15 15:31:59 +02:00
2017-07-05 13:25:18 -07:00
2014-09-03 14:43:26 +01:00
2016-10-26 15:48:42 +02: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-17 14:33:51 -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-05-31 13:07:02 +08:00
2016-10-04 20:19:44 -07:00
2014-09-03 14:43:26 +01:00
2016-12-30 11:33:25 -08:00
2018-10-10 18:42:56 +02:00
2016-04-06 17:18:06 -07:00
2018-10-09 22:34:41 -05:00
2018-10-14 16:40:27 -05:00
2016-07-01 01:18:07 -07:00
2014-09-03 14:43:26 +01:00
2017-10-08 02:06:48 +02: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
2014-09-03 14:43:26 +01:00
2017-11-07 00:55:20 -08:00
2018-01-16 18:38:20 +01:00
2017-02-17 21:31:44 +08:00
2014-09-03 14:43:26 +01:00
2018-03-25 11:24:43 +09:00
2018-09-28 22:57:02 +08:00