| Commit message (Collapse) | Author | Age |
|
|
|
| |
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.
|
|
|
|
|
| |
Adds a comment about a recursive lock, and changes an ==1 to >0
for improved clarity
|
|
|
|
|
|
|
|
|
|
|
| |
As suggested by @ridiculousfish, when removing autoloaded functions, add them
to a tombstones set. These functions will never be autoloaded again in the
current shell, not even when the timestamp changes.
Tested as per comment 1 of #1033. `~/.config/fish/functions/ls.fish` contains
the function definition. `function -e ls` removes the redefined `ls` (and
reverts back to the built-in command). `touch .../ls.fish` does not cause the
function to be reloaded.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Works also if tok->show_comments (for highlighting and auto completion) and
with multi-line comments:
function my_function
echo "hello" | \
#remove 'l'
#and more
tr -d 'l'
end
$ my_function
heo
Fixes #983
|
|
|
|
|
|
| |
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
|
| |
|
|
|
|
| |
Work on #1956.
|
|
|
|
|
|
| |
This improves the case where the working directory has vanished
Fixes #1857
|
|
|
|
| |
Fixes #1956
|
|
|
|
|
|
|
|
| |
Fixes a bug where generating a lot of autoloaded functions from
syntax highlighting would result in evicting nodes on background threads,
resulting in a thread error.
Fixes #1989
|
|
|
|
|
|
|
| |
Without this change, pasting text with the pager contents
visible would not clear the pager.
Fixes #1974
|
|
|
|
| |
Fixes #1993
|
| |
|
| |
|
| |
|
|
|
| |
Changed the text referencing 'source' in exit.txt from '.' to 'source'
|
|
|
|
| |
Makes the behaviour of the script match the documentation.
|
|
|
|
| |
Closes #1771.
|
|
|
|
| |
close #1443, and reverses some of #1061 / e632d39b.
|
|\ |
|
| |
| |
| |
| |
| | |
A rogue single-quote meant that a non-existent function
'__fish_systemctl_$t' was called
|
| |
| |
| |
| | |
* DragonFly BSD is not Dragonfly BSD.
|
| |
| |
| |
| |
| |
| |
| |
| | |
Unfortunately, list-unit-files doesn't understand --state=loaded
This needs a new function to explicitly use list-units
This reverts commit 9f521b7694780c1e3606c6c58ad7aca78c5cfdca.
|
| |
| |
| |
| |
| | |
This includes only showing unmasked units in mask, only loaded units in
start and more types in show/list-dependencies
|
| |
| |
| |
| | |
Was single-quoted, should have been double-quoted
|
| |
| |
| |
| | |
For-loops ftw!
|
| | |
|
| |
| |
| |
| | |
Inspired by the official bash completion, this uses systemd --dump-configuration-items.
|
| | |
|
| | |
|
| |
| |
| |
| | |
It should now support all unit types mentioned in systemd.unit(5)
|
| | |
|
| | |
|
| |
| |
| |
| | |
This fixes completions for e.g. `systemctl --quiet status`
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
e340baf6cc introduced a bug where fish would not exit from job_continue
when receiving a signal like SIGHUP. This means that it would not in turn
deliver SIGHUP to its children, who would therefore never exit. Those
children may attempt to write to stdout, in which case they would receive
EIO; this can cause other weird issues, like telnet using 100% CPU.
Fixes #1958
|
| |
| |
| |
| | |
* Added completion for `git branch --merged`
* Added completion for `git branch --no-merged`
|
| | |
|
| |
| |
| |
| |
| | |
On OS X, work around filesystem corruption triggered by having hard
links in /tmp, by using a symlink instead.
|
| |
| |
| |
| |
| | |
This is the current behaviour, documentation can be updated if this
behaviour changes, assuming it can, because it's an incompatible
change.
|
| |
| |
| |
| | |
Fixes #1929
|
| |
| |
| |
| | |
Closes #1907.
|
| |
| |
| |
| |
| |
| | |
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
|