| Commit message (Collapse) | Author | Age |
|
|
|
|
|
|
|
| |
(Ideally, the behaviour of git could be implemented: pipe the input
through a pager iff the length is > window size and in interactive
mode).
Closes #1076.
|
| |
|
|
|
|
| |
Closes #1133.
|
| |
|
|
|
|
| |
Fixes #1371
|
|
|
|
|
|
|
| |
Possible future enhancements include explanatory text and an image for
the 'save' action.
Work on #731.
|
| |
|
|
|
|
| |
Closes #1758.
|
| |
|
|
|
|
|
| |
Improves Python 2/3 compatibility.
(It is the distant future, the year TWO THOUSAND.)
|
|
|
|
|
|
|
| |
Improve vagrant completions for some commands to avoid spurious
completions, and add completions for some missing Vagrant commands.
Fixes #1748.
|
|
|
|
|
|
|
| |
The terminal width magic that __fish_print_help learned doesn't help
when builtin_print_help runs it in a subshell. Instead, add an
undocumented --tty-width flag to __fish_print_help that's used to pass
the terminal width.
|
|
|
|
|
|
|
|
|
|
|
|
| |
As a result of this rewrite, the output now:
* Expands to fit the terminal width, like `man` does
* Preprocesses the manpage with `tbl` just in case, since `man` does
this, even though I doubt any fish manpages use `tbl` formatting.
* Handle bold/underline with the `ul` command as it was designed for
instead of trying to fake it with `sed`.
* Compresses blank lines as `man` does with the default `less -is`
pager.
|
|
|
|
| |
Use the unicode replacement character in place of non-utf-8 sequences.
|
| |
|
|
|
|
|
|
| |
`eval` prints help if given a single argument of -h or --help.
Fixes #1379.
|
|
|
|
| |
This reverts commit d2f23e1df45f07fb4d716b07c40de7381e539b9d.
|
| |
|
|
|
|
| |
Fixes #1379
|
|
|
|
|
|
|
|
|
|
|
|
| |
The usage is still the same, but it's a lot more robust, and also no
longer assumes $fish_user_abbreviations must be a universal variable.
This also fixes the unexpected error output when calling `abbr -a` with
no existing abbreviations.
Calling `abbr -a` with an abbreviation that already exists now silently
overwrites the abbreviation, just like `function` and `bind` do, instead
of complaining.
|
| |
|
|
|
|
|
|
|
| |
Add a new tab which lists the current abbreviations defined, by wrapping
the `abbr` command.
Work on #731.
|
|
|
|
|
| |
As we add more tabs, 800px looks increasingly cramped, and our config
should take advantage of the screen space available.
|
|
|
|
| |
Work on #731.
|
| |
|
|
|
|
|
|
| |
This fixes the issue with nonexistant directories (some Linux
distributions put these for local modules), and also fixes the
issue of dot meaning any character instead of simply dot.
|
| |
|
|
|
| |
Fixes #1737
|
|
|
|
| |
Also fixes `cd /private` displaying as no path on OS X.
|
|
|
|
|
| |
Also do some minor formatting cleanup, make psub return 1 when executed
outside of a command substitution, and make it respect $TMPDIR.
|
|
|
|
|
|
|
|
|
|
| |
# The first commit's message is:
Simplify default fish_prompt
No need for the set_color caching now that it's a builtin.
Also simplify the 3 classic prompts in fish_config's sample_prompts set.
|
|
|
|
|
|
|
| |
Remove comment that AFAICT is not true anymore.
Ensure someone setting __fish_active_key_bindings as a universal
variable doesn't screw up the initial keybinding load.
|
|
|
|
| |
Closes #1485.
|
|
|
|
| |
Closes #1343, works towards #1257.
|
|
|
|
|
|
| |
All opam subcommands and descriptions are covered, along with
all the flags that are common to all commands. However, only
`opam config` has complete subsubcommand coverage.
|
|
|
|
| |
See https://github.com/fish-shell/fish-shell/issues/1663
|
|
|
|
|
|
| |
Uses awk rather than sed to account for multiple formatting options.
Closes #1260.
|
|
|
|
|
|
|
| |
Completions can now be written which disable file completion and then
selectively re-enable it using this function.
Closes #834.
|
|
|
|
|
|
|
|
| |
Apparently, in zsh, Meta+H can be used to display the manpage for
the current command. This commit adds this zsh feature to fish shell.
The F1 keybinding is left, although it's now secondary according to
fish help, as some terminal emulators don't let the user press F1 key.
|
|
|
|
|
|
|
|
|
| |
This reverts commit 7cad0069e8f4a652d0e22f1b0198f67399e80157.
https://github.com/fish-shell/fish-shell/issues/1723
http://superuser.com/questions/31445/gnu-bc-modulo-with-scale-other-than-0
This is why we can't have nice things.
|
|
|
|
|
|
|
| |
Closes #1643.
Thanks to Mickaƫl RAYBAUD-ROIG (https://github.com/m-r-r) for the idea
of printf.
|
|
|
|
| |
Avoid calling seq with 0 as argument since its behaviour is wrong on OS X.
|
|
|
|
| |
This moves the sorting to be done before sorting remaining colors.
|
|
|
|
|
|
| |
Shell scripts that use `read` should not trigger fish_greeting.
Fixes #1401.
|
|
|
|
|
|
|
| |
Use the new `read -z` flag to complete git aliases better. This approach
won't break if an alias contains a newline.
Also fix stash completion, which was broken on BSD sed.
|
|
|
|
|
| |
This fixes the issue with strange behaviour of fish shell when first
option of a command is an option.
|
|
|
|
|
|
|
| |
Git treats executables in $PATH that start with "git-" as custom
subcommands. Add completion support for them.
Fixes #1680.
|
|
|
|
|
| |
Config entries that contained the word "alias" but were not in fact
aliases no longer are treated as aliases.
|
| |
|
|
|
|
|
|
|
| |
Also avoid resetting bindings if fish_key_bindings is "modified" without
actually changing.
Fixes #1638.
|