Fabian Homborg
7c5297e785
Merge branch 'master' into issue_4848
2018-05-11 16:06:27 +02:00
Fabian Homborg
2c312d05df
[docs] Add more subsections
...
They are great!
2018-05-08 17:26:56 +02:00
Fabian Homborg
5b1731331e
[math] Add subsection headers to the docs
...
Otherwise this is printed as "math-syntax" in the man page.
2018-05-08 17:11:48 +02:00
David Adam
21890ccac7
function: restore '%self' functionality for --on-process-exit
...
One key use of process expansion, used in currently-shipped code, is for running a function on
current shell exit.
Restore the use of %self as a valid argument (and add `self`) and document this change.
(faho: Remove bare "self")
2018-05-08 11:17:07 +02:00
ridiculousfish
d623ac5040
Add future feature flags to the documentation
2018-05-06 12:06:06 -07:00
ridiculousfish
87eb073ff9
Remove some references to ^ redirection from the docs
...
Replace these with 2>
2018-05-06 11:53:14 -07:00
ridiculousfish
762c31be87
Feature flag support for ? wildcard
...
This partially reverts 6e56637cf0
and #4520
by bringing back the ? wildcard, guarded by the qmark-noglob feature flag.
2018-05-06 11:20:15 -07:00
ridiculousfish
7cbc0c371a
Remove a "common fish problems" section in the docs
...
This wasn't really that common.
2018-05-06 11:19:58 -07:00
Fabian Homborg
1a1ee352ff
[commandline] Change "--selection" to "--current-selection"
...
Plus documentation.
Work towards #4255 .
2018-05-05 21:41:03 +02:00
Mahmoud Al-Qudsi
bd8c8ceb59
Add line-delimited read presets with --line and --all-lines
...
Refer to changes in doc_src/read.txt for more info. Closes #4861 .
2018-04-17 21:34:22 -05:00
Fabian Homborg
701259d372
Remove ":" from argparse docs
...
Also improve some of the wording.
Fixes #4871 .
[ci skip]
2018-04-10 21:26:02 +02:00
Fabian Homborg
a89e9e7ba3
Improve read docs re splitting
...
Intentionally make no mention of $IFS, because it is deprecated.
Fixes #4861 .
2018-04-10 21:26:02 +02:00
Thom Chiovoloni
25169a44ed
Add alias -s/--save
, which saves the alias.
...
Also updates the `alias` documentation to mention the `-h`/`--help` option,
which was previously undocumented.
2018-04-09 01:08:56 +02:00
ridiculousfish
6e56637cf0
Remove support for the ? wildcard
...
Fixes #4520
2018-03-31 16:54:50 -07:00
slama
f93d1c963f
removed explanation of process expansion in doc
2018-03-31 12:12:27 -07:00
Mahmoud Al-Qudsi
04b8b35a56
Document new string split --no-empty
option
2018-03-29 08:23:29 -05:00
slama
3be3f2e6a2
Update doc of wait command to reflect changes in supporting process names to wait.
2018-03-25 11:24:43 +09:00
Mahmoud Al-Qudsi
515fc509ec
Deprecate $_ in favor of (status current-command)
...
Closes #813 .
2018-03-24 11:58:19 -05:00
Mahmoud Al-Qudsi
c51abd04ff
Clean up $__fish_*dir variable names
...
Closes #4429
2018-03-12 08:34:20 -05:00
Mahmoud Al-Qudsi
315439bacc
Address minor documentation issue
...
Closes #3458
2018-03-10 07:26:40 -06:00
ridiculousfish
9a5afe3913
Clean up and document functions --handlers
2018-03-10 02:27:25 -08:00
Mahmoud Al-Qudsi
8b9a13f6ca
Update read builtin documentation to reflect --shell and --silent opt changes
2018-03-09 12:03:45 -06:00
Patrick Häcker
9616b50461
Improve documentation of cartesian product with empty expansion ( #4769 )
...
* Improve documentation of cartesian product with empty expansion
* Fix review findings for documentation of empty cartesian product expansion
2018-03-08 22:42:32 +01:00
Samuel Gagnon
f02dd22973
Typo in documentation for "emit" command
...
Line \endfish is misplaced.
2018-03-08 12:55:35 +01:00
Fabian Homborg
9fc3d1215b
[math] Check for runtime errors
...
When number is infinite, not a number, larger than LONG_MAX or smaller
than LONG_MIN, print a corresponding error and return STATUS_CMD_ERROR.
This should fix the worst of the problems, by at least making them clear.
Fixes #4479 .
Fixes #4768 .
2018-03-07 18:03:44 +01:00
ridiculousfish
0938c9f427
Document && and ||
2018-03-05 14:05:37 -08:00
Mahmoud Al-Qudsi
7242c40b5c
Document new -q/--quiet flags to jobs
builtin
2018-03-04 15:21:31 -06:00
David Adam
5beeb5280f
license.hdr: update MIT license for Angular but not MuParser
...
[ci skip]
2018-03-04 19:41:30 +08:00
Fabian Homborg
f20b6a1e8f
[math] Document scientific notation
2018-03-01 13:09:35 +01:00
Fabian Homborg
234ebb5d7b
[math] Fix docs
...
We no longer use muparser, but tinyexpr.
tinyexpr does not have:
- "Statistical functions" like min, max, avg
- Multiple expressions separated with ","
[ci skip]
2018-03-01 13:09:35 +01:00
ridiculousfish
5282d3e711
Add fish_emoji_width variable to control computed emoji width
...
This is part of an effort to improve fish's Unicode handling. This commit
attempts to grapple with the fact that, certain characters (principally
emoji) were considered to have a wcwidth of 1 in Unicode 8, but a width of
2 in Unicode 9.
The system wcwidth() here cannot be trusted; terminal emulators do not
respect it. iTerm2 even allows this to be set in preferences.
This commit introduces a new function is_width_2_in_Uni9_but_1_in_Uni8() to
detect characters of version-ambiguous width. For these characters, it
returns a width guessed based on the value of TERM_PROGRAM and
TERM_VERSION, defaulting to 1. This value can be overridden by setting the
value of a new variable fish_emoji_width (presumably either to 1 or 2).
Fixes #4539 , #2652 .
2018-02-25 23:38:10 -08:00
Steely Wing
e9a4875a6b
Remove the duplicate "(" ( #4748 )
2018-02-23 18:19:19 +01:00
Fabian Homborg
304d9da6a0
Document fish_exit event
2018-02-19 20:21:02 +01:00
Fabian Homborg
a04a6d116e
[docs] PLURALIZE
...
My last commit for the day.
2018-02-07 01:12:30 +01:00
Fabian Homborg
59a90fc543
[docs] Reword test example
...
That was a bit too stuffy.
[ci skip]
2018-02-07 01:12:01 +01:00
Fabian Homborg
50bec2c32e
[docs] Add test example to tutorial
...
As stated in
https://stackoverflow.com/questions/48653771/fishshell-checking-equvalancy-like-does-in-most-languages ,
we didn't have one of those, and `test` is a relatively important part
of plenty of `if`s.
2018-02-07 01:09:33 +01:00
Fabian Homborg
634feac600
[docs] Remove mention of cached variables from math
...
The variable cache was removed in
95162ef19d
, so this is now wrong.
2018-02-04 23:26:21 +01:00
ogaclejapan
64c8d4c265
Fix typo that invalid options in argparse
2018-01-31 16:45:19 +11:00
ridiculousfish
d0d7bb75cd
Add new pager-toggle-search input function
...
This adds a new input binding pager-toggle-search which toggles the
search field on and off when the pager is showing.
2018-01-30 09:58:08 -08:00
Thom Chiovoloni
7b88187310
Add ability to autosave functions at the end of funced
2018-01-18 18:03:52 +01:00
Thom Chiovoloni
7dae40a240
Revert "Work around OS X issue with dropped #fragment in launched URLs"
...
This reverts commit 80b658e247
.
2018-01-16 18:38:20 +01:00
Fabian Homborg
aa58cae601
Don't count successive "," as literal in brace expansion
...
This was highly surprising.
Fixes #3002 .
2018-01-07 15:00:44 +01:00
Fabian Homborg
55ebf4430f
Make literal "{}" expand to itself
...
This caused major annoyances with e.g. `find -exec`, and it's utterly
useless - "{}" expands to nothing, so why have it at all?
Fixes #1109 .
2018-01-07 15:00:44 +01:00
ridiculousfish
69f066dc1b
Correct end tag
...
A code block was not properly closed, causing bad graphical artifacts
in the tutorial. Correct it.
2017-12-29 12:44:09 -08:00
ridiculousfish
7db5d573c2
Document fish_color_selection
...
Fixes #4544
2017-12-22 12:41:35 -08:00
Mahmoud Al-Qudsi
ae700c8707
Merge pull request #4581 from mqudsi/help_section_workaround
...
Work around OS X issue with dropped #fragment in launched URLs
2017-12-07 18:59:16 -06:00
h4rvey r0ss
109cc1c4d8
deleted -l parameter
2017-11-30 15:58:20 +01:00
David Adam
f5209deacc
cmake: update CheckIncludeFiles to enable C++ checks
2017-11-17 16:21:56 +08:00
ridiculousfish
1014995159
Add documentation for wait command
2017-11-16 11:28:32 -08:00
Jannis
45fc499a91
Make h1 distinguishable from h2 ( #4522 )
2017-11-07 00:55:20 -08:00