| Commit message (Collapse) | Author | Age |
|
|
|
| |
less hackish and far simpler "perform on main thread" mechanism
|
|
|
|
| |
https://github.com/fish-shell/fish-shell/issues/1152
|
|
|
| |
$remote could have contained /.
|
|
|
|
| |
scheduling work on main thread
|
|
|
|
|
|
| |
This stops fish from accessing the `bool ok[UCHAR_MAX + 1]` table
beyond allocated space potentially accessing memory that doesn't
belong to fish, and crashing.
|
|
|
|
|
|
| |
It appears that Intel C compiler doesn't recognize unsigned wchar_t,
however it doesn't appear to be important (the conversion function is
unused, and in other cases it doesn't appear to be needed).
|
| |
|
|
|
|
|
| |
Currently this fix is useless, as web config cannot apply variables,
but in future, it could be more useful.
|
|
|
|
|
|
|
|
| |
by Gentoo Linux)
Disable php completion for the 4th part of the command, since php-eselect is differently designed and causes errors
Closes #1131.
|
|
|
|
|
| |
Informative Git Prompt assumes that sh is bash compatible, but that's
not the case for FreeBSD. Fixes #1140.
|
|
|
|
|
|
|
| |
Closes #960.
Uses pattern matching rather than OS detection. Works with BSD awk, GNU
awk and Solaris' nawk.
|
|
|
|
| |
(#1143)
|
|
|
|
| |
https://github.com/fish-shell/fish-shell/issues/1142
|
|
|
|
| |
https://github.com/fish-shell/fish-shell/issues/1142
|
|
|
|
| |
https://github.com/fish-shell/fish-shell/issues/1107
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Closes: https://github.com/fish-shell/fish-shell/issues/1060
'ansi' should always be present (tested on Solaris, Linux, FreeBSD,
Darwin).
Also overrides TERM so that other programs behave consistently e.g.
fish_pager.
The error message makes no specific mention of terminfo or termcap as
these vary across operating systems.
(r+ @ridiculousfish with thanks)
|
|
|
|
| |
Ref: #1060
|
|
|
|
|
|
| |
Makes tests pass
again.
|
|
|
|
|
|
|
|
| |
The intention of the block removed appears to be to indent wrapped lines to the column the line started at. What actually happens is that all wrapped lines wrap to column 0.
After adding the sticky short prompt feature, the block removed caused a bug with wrapping wide characters in addition to not appearing to change anything else.
Wide characters would change between wrapping to column 0 and the column the command started at, depending on what column the wide character was at before wrapping.
I am keeping the existing behavior rather than restoring the block's original intention. If the original intention should be restored, it should be on a different branch.
|
|
|
|
| |
start on their own lines.
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
From the Python webbrowser documentation:
"If text-mode browsers are used, the calling process will block until the user exits the browser."
Running fish_config on an ssh server with no GUI browser will open a CLI browser which blocks and stops the server from handling requests.
Using multiprocess to run the server in the background lets CLI browsers access the page, but the page is unusable.
For now, disable CLI browsers and recommend opening the page in a graphical browser.
In the future, maybe write a CLI utility to change prompts and delete history items.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
This ensures that timestamp will be initialized.
|
|
|
|
|
|
| |
printf expects unsigned long (%lu) argument, however, size_t doesn't
have to be declared as such. As %zu is C99 (but not C++), it shouldn't
be used directly. Instead, I have to cast value to the correct type.
|
| |
|
| |
|
|
|
|
|
| |
time_t doesn't necessarily have to be a long number. In fact, manpage
for types.h mentions it can be a double value.
|
| |
|
| |
|
| |
|
|
|
| |
When launching the first instance of fish and fishd is not launched already, this should not be considered an error as long as it can be launched. So ignore the first failure of connect(), as the calling function get_socket() will try again. May need a bit of cleanup.
|
|
|
|
| |
(see #170)
|
| |
|
| |
|
| |
|
|
|
|
| |
This protects from providing paths to man, like `./a.out`.
|
| |
|
|
|
|
|
|
| |
Prefer the standard library lzma module if available. This change prevents
using the backports-lzma when it is installed for a version of Python that
already has the lzma module in its standard library.
|
|
|
|
|
|
|
| |
- expunge LIBS_COMMON, it doesn't get used anywhere
- don't reset LIBS to empty
- move the gettext test as every binary depends on it
- only include one set of libraries
|
| |
|
| |
|
| |
|
|
|
|
| |
Fixes bpinto/oh-my-fish#59.
|
| |
|
|
|
|
| |
Closes #1069
|
| |
|