| Commit message (Collapse) | Author | Age |
| |
|
|
|
|
| |
Remove function, use wrapping.
|
| |
|
| |
|
|
|
|
| |
Fixes #1595
|
|
|
|
|
| |
This enables readline functions to appear after the self-insert
when defining bindings. This is preparation for fixing #1595.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
__fish_complete_mime used in that way is a no-op on current fish anyway,
and emacs is by no means useful for just text files (it can also view
PDFs, images, ...).
Otherwise this completion currently only offers options, not arguments.
For most these are pretty much incompletable (lisp code, for example),
and for others it's just not all that useful.
Signed-off-by: David Adam <zanchey@ucc.gu.uwa.edu.au>
|
|
|
|
|
|
|
|
|
|
| |
This used to be a function because we didn't have complete -w
Use that and it becomes a bit simpler.
This also simplifies the code in a few other ways (like removing a
useless-use-of-cat)
and adds comments about a few edgecases.
|
| |
|
| |
|
|
|
|
| |
See fish-shell/fish-shell#1375
|
|
|
|
| |
[skip ci]
|
| |
|
|
|
|
| |
Fixes fish-shell/fish-shell#1171
|
|
|
|
| |
This allows editors (like emacs) to pick up on the fact that it's a fish script.
|
|
|
|
|
|
| |
Declaring errno as an extern int breaks when errno is implemented
as a macro (as is allowed by POSIX). Specifically it breaks
building fish-shell on Android.
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
- Complete fields and (more importantly) values
- Add all options
- Complete boots
Signed-off-by: David Adam <zanchey@ucc.gu.uwa.edu.au>
|
|
|
|
| |
Derived Sources empty except for redundant copy of config.h
|
| |
|
| |
|
|
|
|
|
| |
In informative_status mode stateseparator did not use
fish_git_prompt_color settings.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
New sample prompt from Acidhub (github.com/acidhub)
This prompt show user|path (full), and a small symbol to
show last command status.
If in a git repository, it's show after the path several
symbols to indicate the branch status and the branch name.
Very handy to me so far.
Signed-off-by: Fernando Manfredi <contact@acidhub.click>
|
|
|
|
|
|
| |
changed `function __trap_handler_EXIT --on-exit %self` to `function __trap_handler_EXIT --on-process-exit %self`
I'm guessing the on-exit syntax was from an older version? Trapping EXIT with that syntax caused errors.
|
|
|
|
|
|
| |
Adds behaviour similar to bash:
- shorten dirs output by representing $HOME as ~;
- provide a '-c' option to clear the stack
|
|
|
|
|
|
|
| |
The following behaviour is added:
- an empty pushd exchanges the top two directories in the stack;
- pushd +<n> rotates the stack so that the n-th directory (counting from the left of the list shown by dirs, starting with zero) is at the top;
- pushd -<n> rotates the stack so that the nth directory (counting from the right of the list shown by dirs, starting with zero) is at the top.
|
|
|
|
| |
Replace the wording '... escapes the tab character ...' with '... represents the tab character ...'. Similarly for other escape sequences.
|
|\ |
|
| |
| |
| |
| | |
Fixes problem introduced in 0effcf6df. Work on #2020.
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Imported from https://github.com/zanchey/fish-build/
Work on #2020.
Note that this is explicitly removed from `git archive` tarballs due to
https://wiki.debian.org/UpstreamGuide#Pristine_Upstream_Source
|
| | |
|
| | |
|
| |
| |
| |
| | |
Also fix a few broken anchors
|
| |
| |
| |
| | |
Also fix a few broken anchors
|
| |
| |
| |
| | |
Closes #2149.
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| |
| |
| |
| | |
Work on #2141.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
This reverts commit cd7f1a15f86fd045d069d256ea7333d14c2913fa.
Contemporary Cygwin systems provide the correct symlinks on both 32-bit
and 64-bit installations to allow the transparent use of libncursesw as
libncurses.
Reversion of #1454.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
When performing wildcard expansion with a literal path segment,
instead of enumerating the files in the directory, simply apply the
path segment as if we found the directory and continue on. This
enables us to expand strings that contain unreadable directory
components (common with $HOME) and also improves performance, since
we don't waste time enumerating directories unnecessarily. Adds
a test too.
Fixes #2099
|
| | |
|
| |
| |
| |
| |
| | |
fish_config requires that these fields be lowercase, otherwise
they won't show up in the prompt list.
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
When performing wildcard expansion with a literal path segment,
instead of enumerating the files in the directory, simply apply the
path segment as if we found the directory and continue on. This
enables us to expand strings that contain unreadable directory
components (common with $HOME) and also improves performance, since
we don't waste time enumerating directories unnecessarily. Adds
a test too.
Fixes #2099
|
| |
| |
| |
| |
| |
| | |
Fixes the Cygwin build, works on OS X.
Work on #170.
|
| |
| |
| |
| | |
Closes #2137.
|