Fabian Homborg 4b53cd583d docs: Change misleading $status comment for set
It still performs the assignment even if the command substitution
returned unsuccessfully - `set foo (echo bar; false)` returns 1 but
sets $foo to bar.

Also use `type -p` instead of `which`.

(cherry picked from commit 0ee24b9bce3ff9dcb29a8df60be67bfbba8669d7)
2017-05-22 21:27:25 +08:00
..
2016-10-30 21:25:21 -07:00
2017-04-04 14:59:43 +02:00
2017-03-20 16:42:53 +01:00
2017-03-22 20:53:39 -07:00
2014-09-07 17:35:19 +01:00
2014-09-03 14:43:27 +01:00
2015-08-17 20:27:13 +08: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
2017-03-22 20:53:39 -07:00
2015-03-18 16:22:29 -04:00
2014-09-29 13:39:35 -07:00
2017-05-22 21:27:25 +08:00
2016-07-16 20:22:41 -07:00
2016-06-26 11:36:31 +02:00
2016-04-26 15:21:15 +02:00
2016-05-17 14:52:55 -07:00
2015-02-06 07:48:47 +01:00
2017-04-30 20:21:40 -07:00
2014-09-03 14:43:27 +01:00
2017-01-15 14:57:21 -08:00
2016-07-16 20:22:41 -07:00
2016-07-16 20:22:41 -07:00
2015-11-14 13:15:30 +01:00
2015-09-11 11:33:04 +02:00
2014-09-03 14:43:25 +01:00
2016-12-24 13:52:49 -08:00
2017-04-11 19:30:12 -07:00
2017-03-14 21:02:02 -07:00
2014-09-29 13:39:35 -07:00
2016-07-16 20:22:41 -07:00
2016-07-16 20:22:41 -07:00
2014-09-03 14:43:27 +01:00
2014-09-03 14:43:24 +01:00