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