Files
ohmyzsh/plugins
Marc Cornellà 095d56b5ea Fix WSL check for WSL 2 and simplify nohup in open_command
WSL 2 changes the output of `uname -r`. For instance,

  WSL 1: 4.4.0-18980-Microsoft
  WSL 2: 4.19.67-microsoft-standard

Since WSL 2 lowercases the M, we can match for the rest of the string
which remains lowercase throughout both versions. Another option would
be to match for both upper- and lower-case Ms, like that:

  $(uname -r) = *[Mm]icrosoft*

Fixed use of nohup in open_command where it was only necessary for
xdg-open (and actually harmful for cmd.exe in WSL 2). The current logic
is simpler and more future-proof.
2019-09-19 16:20:02 +02:00
..
2019-02-23 09:00:05 +01:00
2018-11-01 15:17:25 +01:00
2016-06-01 12:23:20 +02:00
2018-10-07 23:29:50 +02:00
2018-10-18 20:58:14 +02:00
2018-08-07 20:42:01 +02:00
2015-06-09 11:29:37 +02:00
2018-10-04 13:10:52 +02:00
2019-01-20 04:24:52 +02:00
2018-10-29 22:11:02 +01:00
2019-01-25 12:16:20 +01:00
2018-11-01 15:29:05 +01:00
2019-03-25 22:43:19 +01:00
2018-10-26 17:06:45 +02:00
2018-08-07 20:42:01 +02:00
2014-05-28 11:22:35 +02:00
2019-08-04 00:33:40 +03:00
2011-05-28 13:06:03 -04:00
2018-10-17 20:34:58 +02:00
2018-11-01 15:42:18 +01:00
2018-10-04 23:47:36 +02:00
2018-10-06 00:02:47 +02:00
2018-10-26 17:05:50 +02:00
2018-08-07 20:42:01 +02:00
2019-03-29 22:39:52 +01:00
2019-04-14 12:31:52 +02:00
2018-08-07 20:42:01 +02:00
2018-10-03 17:23:49 +02:00
2019-02-20 16:59:57 +01:00
2016-05-10 13:23:23 -03:00
2019-06-15 10:54:19 -07:00
2016-07-04 22:34:41 +02:00
2018-08-07 20:42:01 +02:00
2018-10-04 23:13:46 +02:00
2019-09-13 11:20:20 +02:00
2018-10-19 18:46:29 +02:00
2014-03-25 16:47:58 +01:00
2018-08-07 20:42:01 +02:00
2018-10-19 18:54:26 +02:00
2018-10-28 11:26:08 -07:00
2018-10-03 17:54:07 +02:00
2018-08-07 20:42:01 +02:00
2018-10-24 15:56:51 +02:00
2018-10-26 14:52:54 +02:00
2015-06-12 00:17:17 +02:00
2018-10-05 09:29:43 +02:00
2018-10-26 17:10:50 +02:00
2019-01-22 10:09:07 -05:00
2019-05-08 20:40:36 +02:00
2018-10-05 23:18:10 +02:00
2018-11-01 15:07:58 -07:00
2018-10-13 18:51:19 +02:00
2018-10-28 13:22:26 +01:00
2018-10-08 10:20:10 -03:00
2018-10-04 13:13:04 +02:00
2018-10-04 13:17:01 +02:00
2018-06-12 20:45:38 +02:00
2019-03-24 11:29:35 +01:00
2018-10-05 09:38:50 +02:00
2018-10-03 18:08:50 +02:00
2018-10-12 15:54:31 -04:00
2018-10-28 13:24:17 +01:00
2018-08-07 20:42:01 +02:00
2019-02-17 20:57:56 +01:00
2019-05-25 19:35:33 +02:00
2018-08-29 23:06:11 +02:00
2018-10-03 17:59:30 +02:00
2018-05-26 18:39:32 +02:00
2017-11-07 07:55:24 -08:00
2018-08-09 20:17:43 +02:00
2018-10-07 23:30:37 +02:00
2018-08-07 20:42:01 +02:00
2018-08-07 20:42:01 +02:00
2019-05-08 09:48:28 +02:00
2019-05-08 16:53:50 +02:00
2018-08-07 20:42:01 +02:00
2018-10-04 13:12:07 +02:00
2018-08-07 20:42:01 +02:00
2014-11-07 10:47:27 +01:00
2018-10-02 23:51:14 +02:00
2019-06-12 19:45:43 +02:00
2014-02-20 10:18:53 -08:00
2013-01-08 13:34:33 +08:00
2018-08-07 20:42:01 +02:00
2019-01-22 04:49:21 +11:00
2018-10-02 21:44:06 +02:00
2018-10-04 12:48:29 +02:00
2018-08-07 20:42:01 +02:00
2018-10-17 19:42:57 +02:00
2018-08-07 20:42:01 +02:00
2019-05-08 10:27:05 +02:00
2013-10-14 07:39:59 -04:00
2018-08-07 20:42:01 +02:00
2018-08-07 20:42:01 +02:00
2018-08-07 20:42:01 +02:00
2018-10-28 12:28:28 +01:00
2013-07-03 11:57:31 +08:00
2018-12-31 11:14:22 -08:00
2018-08-07 20:42:01 +02:00
2019-04-08 23:22:15 +02:00
2018-10-25 13:12:02 +02:00
2018-10-28 11:28:15 -07:00
2018-10-04 23:27:09 +02:00
2018-08-07 20:42:01 +02:00
2015-08-17 20:51:41 -04:00
2018-08-07 20:42:01 +02:00
2018-10-12 19:08:18 -05:00
2011-05-28 13:12:03 -04:00
2016-08-24 21:28:49 +02:00
2019-05-24 12:17:26 +02:00
2018-07-09 19:27:02 +02:00
2018-09-11 20:22:55 +02:00
2018-12-31 11:13:31 -08:00
2019-04-08 20:39:21 +02:00
2018-10-12 21:54:26 +02:00
2019-03-10 09:36:21 -07:00
2018-08-07 20:42:01 +02:00
2018-10-28 11:27:34 -07:00
2014-02-14 14:55:00 +00:00
2014-12-15 21:37:38 +06:00
2019-09-13 11:44:20 +02:00
2018-04-22 12:55:21 +02:00