| Commit message (Collapse) | Author | Age |
| |
|
| |
|
|
|
|
|
|
| |
The descriptions are "Start: Start the service"
"Stop : Stop the service"
"Restart: Restart the service"
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
Remove function, use wrapping.
|
|
|
|
| |
Fixes #1595
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
| |
This allows editors (like emacs) to pick up on the fact that it's a fish script.
|
| |
|
|
|
|
|
| |
In informative_status mode stateseparator did not use
fish_git_prompt_color settings.
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
| |
Work on #2141.
|
|
|
|
| |
Closes #2137.
|
|
|
|
|
|
|
|
|
|
|
| |
1. When run with no arguments, make abbr do the equivalent
of `abbr --show`
2. Enable "implicit add", e.g. `abbr gco git checkout`
3. Teach `abbr --show` to not use quotes for simple cases
4. Teach abbr to output -- when the abbreviation has
leading dashes
Add some basic tests to abbr too.
|
|
|
|
|
|
|
|
|
| |
Add a new function fish_mode_prompt which (if it is defined) has its output
prepended to the left prompt. Rather than replacing the prompt wholesale, make
fish_vi_mode enable this function by setting a variable __fish_vi_mode. This
enables vi mode to interoperate nicely with custom prompts. Users who want
to change how the mode is reported can either redefine this function or
erase it entirely. Fixes #1988.
|
|\ |
|
| |
| |
| |
| | |
Closes #2077.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
- Add four new functions: forward-bigword, backward-bigword,
kill-bigword, backward-kill-bigword
- Add new enum move_word_style_whitespace and related state machine
method
- Change vi key bindings to operate on bigwords: B, gE, W, E, dW, diW,
daW, dE, dB, dgE, cW, ciW, caW, cE, cB, cgE, yW, yiW, yaW, yE, yB,
ygE
|
| |
| |
| |
| |
| |
| |
| | |
Backing out fix for #2096 until we know how to avoid
spamming other terminals (#2102)
This reverts commit 5c4acc8ee1485e40b00ea0578aeff338078cfb8b.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Notification is sent using an OSC 777 escape sequence as described at
http://known.phyks.me/2014/local-notifications-for-weechat-and-urxvt.
The specific notification is crafted to match that emitted by bash
when running under Fedora 22 with the "vte-profile" RPM installed.
See the code for "__vte_prompt_command" starting at
http://pkgs.fedoraproject.org/cgit/vte291.git/tree/vte291-command-notify.patch#n307
to see exactly what bash produces. My approach is, however, a bit
more paranoid about control characters embedded in commands.
Gnome-terminal 3.16 responds to this escape sequence by posting a
desktop notification if the containing terminal window does not have
focus. This lets the user know that a long-running background command
has completed. Job notification is promoted as a Fedora 22 feature
(http://fedoramagazine.org/terminal-job-notifications-in-fedora-22-workstation/),
so it would be good for fish users to be benefit from it.
Conversely, anyone who does not want this feature can use "functions
--erase __notify_vte_command_completed" to turn it off.
|
|/
|
|
|
|
| |
for consistency with other fish commands
Closes #2071.
|
|
|
|
|
|
|
|
| |
With the fix for #365, fish_command_not_found event handlers
receive the command and all of its arguments. But commands
like /usr/lib/command-not-found expect only the command name.
So when invoking an external command, just pass the command
name, not all of the arguments.
|
|
|
|
| |
Fixes #1933
|
|
|
|
|
|
|
|
|
|
| |
In 73f344f41bd2, we allowed autoloaded functions to be deleted.
For some reason, funcsave immediately deletes the function it
creates. This previously did very little, since the function would
immediately be re-autoloaded, but with the fix for 73f344f41bd2
the function gets tombstoned. So the effect is that funcsave
makes the function disappear! This simply removes the erase call,
which dates back to fish 1.x.
|
|
|
|
|
|
| |
It seems that `ul` can't handle the escape sequences for bold text that `nroff` generates on my system. Fixed by either removing `| ul`, or adding `-c` to the `nroff` command.
Needs testing for old (OSX?) versions of nroff.
|
|
|
|
| |
Closes #2004.
|
|
|
|
|
|
| |
This reverts commit ad61c3f0d6be8b7eca4a70ccd29ba7ca6565cc6c.
Work on #1730.
|
|
|
|
| |
Work on #1730
|
|
|
|
| |
Makes the behaviour of the script match the documentation.
|
| |
|
|
|
|
| |
It should now support all unit types mentioned in systemd.unit(5)
|
| |
|
|
|
|
|
|
| |
Adds a fork but can't use builtin test yet.
Closes #1870.
|
|
|
|
| |
This partially reverts commit 60808a4820b1714.
|
|
|
|
|
| |
- checks for `pkgfile`, which is an optional (but official)
package used for searching for packages given a file
|
|
|
|
| |
This is an adaptation of terlar's git prompt output
|
|
|
|
| |
Closes #1917.
|
| |
|
|
|
|
| |
Restore 906d235 and simplify how __fish_restore_status works
|
| |
|
| |
|
|
|
|
|
|
| |
change it
Empty functions may return 1 when eval is used due to the $status not being correctly preserved inside the function definition.
|
| |
|
| |
|