| Commit message (Collapse) | Author | Age |
|
|
|
| |
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`
|
|
|
|
|
| |
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
|
| |
|
|
|
|
| |
This is an adaptation of terlar's git prompt output
|
|
|
|
|
| |
Fixes problems with encoding and decoding Unicode from URL-encoded strings,
which was impossible to get right in Python 2.
|
| |
|
| |
|
|
|
|
| |
Closes #1917.
|
| |
|
|
|
|
|
|
| |
Accounts for filenames that contain spaces.
Closes #1872.
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
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.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Valid uses of this environment variable don't really include passing
it to subsequent child processes.
I confirmed the fix with:
function fish_prompt
echo "cmd duration [$CMD_DURATION] "
end
cmd duration [0] sleep 2
cmd duration [2002]
|
|
|
|
| |
Fixes #1894
|
|
|
|
| |
Removes some ugly NULL casts
|
|
|
|
|
|
|
|
|
|
| |
Prior to b0e09303a, simple jobs like `printf "%s\n" $line | read word _`
never hit the call to select() because they were reaped in the SIGCHLD
signal handler. With that commit, the signal handler no longer reaps
children, and a job like that would enter select() and hit the 10000μs
timeout before discovering that the job was already complete.
Fixes #1884.
|
|
|
|
|
| |
Prevents e.g. specifying an fd which corresponds to the history file
as the stdin for builtin_source
|
|
|
|
|
|
|
|
| |
Remove global array of file descriptors, in
favor of relying on CLO_EXEC exclusively.
Also correctly implement "pipe avoidance" so
that fd redirections do not conflict
with pipes.
|
|
|
|
| |
Fixes a dangling pointer
|
| |
|
| |
|
| |
|
|
|
|
| |
Fixes a fd leak on OS X
|
|
|
|
| |
This loop has always been nonsense.
|
|
|
|
|
|
| |
Since we no longer inspect the job list from
a signal handler, we don't need to muck with signals
when modifying the job list
|
|
|
|
|
|
|
|
|
| |
- Rename 'events' to 's_event_handlers'
- Stop inspecting the s_event_handlers list upon receiving
a signal. Instead, maintain the set of signals that are observed
in a separate static array. This lets us avoid mucking with
STL data structures in a signal handler, and so avoid blocking signals
in event.cpp
|
| |
|
|
|
|
|
|
| |
Closes #1823, closes #1795.
Signed-off-by: David Adam <zanchey@ucc.gu.uwa.edu.au>
|
|
|
|
| |
As requested in https://github.com/fish-shell/fish-shell/issues/1850
|
| |
|
|
|
|
| |
As suggested in #1827
|