ridiculousfish
06400b83b1
Support for command wrapping ("aliases")
...
Add the --wraps option to 'complete' and 'function'. This allows a
command to (recursively) inherit the completions of a wrapped command.
Fixes #393 .
When evaluating a completion, we inspect the entire "wrap chain" for a
command, i.e. we follow the sequence of wrapping until we either hit a
loop (which we silently ignore) or the end of the chain. We then
evaluate completions as if the wrapping command were substituted with
the wrapped command. Currently this only works for commands, i.e.
'complete --command gco --wraps git\ checkout' won't work (that would
seem to encroaching on abbreviations anyways). It might be useful to
show an error message for that case.
The commandline builtin reflects the commandline with the wrapped
command substituted in, so e.g. git completions (which inspect the
command line) will just work. This sort of command line munging is
also performed by 'complete -C' so it's not totally without precedent.
'alias will also now mark its generated function as wrapping the
'target.
2014-08-15 18:14:36 -07:00
Gio d'Amelio
bcda3f1baa
Set $CMD_DURATION to milliseconds. Fixes #1585
2014-08-04 13:36:39 +08:00
David Adam
8844f0c142
Clarify I/O redirection documentation
...
Fix the examples and try and improve the clarity of the section.
Closes #1409 .
2014-08-03 18:54:10 +08:00
David Adam
6cabd42ed2
Remove getpeerid/getpeerucred and fallbacks
2014-08-03 15:40:44 +08:00
ridiculousfish
0daee33ad6
Document new fish_title behavior per #334
2014-08-03 00:00:26 -07:00
ridiculousfish
8144725739
Fix bad example in docs for test -n $MANPATH
...
Fixes #1574
2014-07-29 14:44:51 -07:00
ridiculousfish
e9f870e25a
Add support for history --merge to incorporate history changes from
...
other sessions.
Fixes #825
2014-07-25 10:49:12 -07:00
David Xia
fa88c42cf1
Fix minor syntax and capitalization mistakes in vi mode docs
2014-07-15 21:59:08 -04:00
David Xia
e84a762171
Add docs for vi mode
...
fixes #1536
2014-07-15 21:29:02 -04:00
Kevin Ballard
62d86b3d18
Fix documentation on variable scopes for read
...
The `read` docs incorrectly asserted that -g was the default for
variables. In actuality it behaves the same way that `set` does.
2014-07-14 09:12:00 +08:00
Kevin Ballard
dcc043df3b
Add an optional mode to env_get_string()
...
The mode restricts the scope in which the variable is searched for.
Use this new restricted scope functionality in the `set` builtin. This
fixes `set -g` to not show local shadowing variable values, and also
allows for scoped erasing of slices.
2014-07-12 15:35:34 -07:00
Kevin Ballard
8c89e6bce5
Fix typo and tweak set
docs
...
Move the docs for the `-n` flag to `set` out of the list of scopes.
2014-07-12 00:21:04 -07:00
ridiculousfish
3bc2dda00d
Merge branch 'death_of_fishd'
...
Incorporates more removal and cleanup of fishd remnants.
2014-06-18 11:19:28 -07:00
David Adam
f4bc1ef4a2
docs: clarify fish_greeting function and variable in FAQ
...
Tidy fish_greeting section in main documentation.
Closes #1506 .
2014-06-18 17:29:59 +08:00
ridiculousfish
be3e64e5ea
Remove fishd.cpp source, docs, and target from Makefile and Xcode
...
project
2014-06-05 11:49:05 -07:00
Alan Thompson
07944cfd20
Change terminology in docs from 'environment variables' -> 'shell variables'
2014-04-29 07:27:56 +02:00
David Adam
ba1b5e34a7
Check effective credentials of socket peers
...
Fix for CVE-2014-2905.
Code for getpeereid() on non-BSD systems imported from the PostgreSQL
project under a BSD-style license.
Closes #1436
2014-04-28 10:41:27 +08:00
ridiculousfish
aabed8279e
Incorporate a modified UTF8 <-> wchar_t implementation from Alexey
...
Vatchenko (http://www.bsdua.org/libbsdua.html ) in preparation for
eliminating our dependency on iconv
2014-03-22 23:46:58 -07:00
ridiculousfish
acd2038407
Remove old pager remnants, including documentation and references in the
...
build system
2014-03-15 14:24:05 -07:00
David Adam
3678f134d9
document Alt-F as well for accepting part of autosuggestion
...
Closes #1290 .
2014-02-10 17:28:47 +08:00
David Adam
c168e6f870
Documented Alt-Right to accept a single word of an autosuggestion
...
See https://github.com/fish-shell/fish-shell/issues/1262
2014-02-02 21:45:03 +08:00
Geoff Nixon
60808a4820
Enhance/fix isatty
using command test
.
...
Presently, `isatty` only works on a handful of keywords. Here it
is rewritten to be able to take any path, device or fd number as
an argument, and eliminates errors printed to stdout.
Per discussion in #1228 , using `builtin test -c` within a pipe to
test special file descriptors is not viable, so this implementation
specifcially uses `command test`. Additionally, a note has been
added to the documentation of `test` regarding this potential
aberration from the expected output of the test utility under the
'Standards' section.
2014-01-28 11:14:54 -08:00
ridiculousfish
32054b6f32
Implement and document new -P / --paging-mode flags to commandline, to support new
...
pager
2014-01-17 12:53:01 -08:00
Сергей Романов
d20f45b949
fix two minor typos in tutorial
2014-01-08 20:09:32 +03:00
Konrad Borowski
602f040940
Update Free Software Foundation address.
...
Fixes #1184 .
2013-12-13 21:51:52 +01:00
Thomas Cort
0ec97c5d1e
doc_src/eval.txt: fix typo.
...
'folloing' => 'following'
2013-12-10 19:09:32 +01:00
David Adam
63d93a2f9a
document new F1 binding
2013-11-09 20:12:53 +08:00
Antoine Gourlay
4dc40b83e4
Fix broken links in tutorial
2013-10-31 16:37:11 +01:00
David Adam
edc4614e63
add completions for source and document the move away from '.'
...
Closes : #310
2013-10-28 23:33:24 +08:00
Konrad Borowski
553eb6ed40
Document appending /
feature.
2013-10-06 14:17:33 +02:00
ridiculousfish
fab7299d49
Replace nextd/prevd <pre>s with \code
2013-10-05 12:13:16 -07:00
ridiculousfish
ad5ae9ba3b
New documentation UI, including tutorial.
2013-10-05 00:37:44 -07:00
ridiculousfish
6c70ed79ae
Update docs to describe autosuggestions. Fixes #937
2013-09-30 11:45:54 -07:00
Siteshwar Vashisht
0d2af9e742
Updated help text of fish_config command
2013-09-28 17:22:46 +05:30
David Adam (zanchey)
1565f9d9c3
fix typo introduced in b56542a9f
...
Thanks to @siteshwar for spotting.
b56542a9f1 (commitcomment-4083982)
b56542a9f1 (commitcomment-4083982)
2013-09-13 13:43:36 +08:00
David Adam (zanchey)
b56542a9f1
document new bindings introduced in cd1c2f74d3
2013-09-13 11:59:03 +08:00
David Adam (zanchey)
1442a2abe8
test documentation: update wording, generate test manual page ( closes #734 )
2013-09-13 11:59:03 +08:00
Tony Wang
1d67d8ff23
add -O and -G to test command
...
they are available on Linux and OS X, and now ported to fish
2013-08-25 15:54:06 -07:00
Mikko Viitamäki
6ec4591f02
fixing small typo
2013-08-16 11:45:15 +03:00
Konrad Borowski
679ef95257
Document source command.
2013-08-14 18:55:15 +03:00
David Adam (zanchey)
ed8ff85d2a
accidentally reopened #943 , fixed now
2013-08-07 11:26:57 +08:00
David Adam (zanchey)
b482cab7be
docs: add editor documentation, move binding information
...
closes #931
also fixes a crossreference error
2013-08-07 11:23:17 +08:00
Gennadiy Zlobin
6f3d7209c2
Fixes broken link in docs. Fixes #943
2013-08-04 14:53:00 +04:00
David Adam (zanchey)
27d84ef8be
documentation for test and function ( closes : #734 )
...
plus speling in documentation for bind.
Note that this commit does not re-enable the generation of the manpage for
test, which will therefore still fall through to the system manual page with
`man test`.
2013-07-29 16:07:00 +08:00
Konrad Borowski
07b7a65b86
Update documentation for $fish_user_paths
2013-06-22 17:22:05 +02:00
David Adam (zanchey)
8214ae9b15
docs: remove translation instructions
...
(Moved to https://github.com/fish-shell/fish-shell/wiki/Translations )
2013-06-05 16:00:08 +08:00
Dennis Ideler
2eb97edf02
Fix typo
...
Remove extra instance of "builtin commands", shouldn't be there.
2013-05-25 01:00:37 -07:00
David Adam (zanchey)
2ef9126744
FAQ: address local variable/env usage
2013-05-24 23:02:29 -07:00
David Adam (zanchey)
1d2cd99e96
FAQ: add questions from beta site
2013-05-24 23:02:29 -07:00
ridiculousfish
7d9b0a00e4
Add note about uninstalling fish
2013-05-16 09:32:31 -07:00