David Adam
8124b5073f
osx/config.h: add some missed defines
2014-12-21 23:40:46 +08:00
David Adam
a4e81d3978
Merge a handful of old and new fixes for the build on Solaris
...
Note that it does not successfully compile yet due to missing flock() on this
platform.
2014-12-21 23:38:53 +08:00
David Adam
147078f43d
Solaris build fixes: use _sys_errs if available
2014-12-21 23:38:09 +08:00
David Adam
90629caa61
Solaris build fixes: detect <termios.h> in configure
...
The header is already used appropriately in the code.
2014-12-21 23:38:03 +08:00
David Adam
9cec0ad02c
Solaris build fixes: use memset instead of bzero
2014-12-21 23:38:03 +08:00
David Adam
11bece80a8
Solaris build fixes: fallback to _XOPEN_NAME_MAX if defined
2014-12-21 23:38:02 +08:00
David Adam
a10f729ef9
use configure to detect dirent.d_type
2014-12-21 23:38:02 +08:00
ridiculousfish
b9db555343
Support for dirents without d_type (e.g. Solaris)
2014-12-21 23:38:02 +08:00
David Adam
9b43e6fa8b
use configure to define NOMACROS
...
(added in 9ec808a4c)
2014-12-21 23:38:02 +08:00
David Adam
1edb7d3aa5
Update osx/config.h with new configure headers
2014-12-21 23:37:23 +08:00
ridiculousfish
14fde56d32
Define some macros to stop Solaris curses headers from breaking the STL
2014-12-21 23:37:23 +08:00
David Adam
a8059c5962
Solaris build fixes: pick the right curses more of the time
2014-12-21 23:37:23 +08:00
Igor Savchuk
381404c4f4
tmux completion: add more attach-session aliases
2014-12-08 17:29:24 +03:00
David Adam
68029095b5
Remove del_curterm workaround on *BSD.
...
FreeBSD PR was https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=108117
OpenBSD PR was 5447.
Both have been fixed for years.
This reverts commit c55cbd3f2f
, among
others.
2014-12-08 08:01:03 +08:00
Konrad Borowski
9a34df604d
Make fish_config handle no LANG variable set.
...
Fixes #1849 .
2014-12-05 21:39:21 +01:00
Konrad Borowski
2f96d2b19a
Add cygport completions provided by Andrew Schulman
...
Squashed commit of the following:
commit a396c5e95a9987ea8ce6e057910131886d1b9695
Merge: bfd1951
f329530
Author: Konrad Borowski <x.fix@o2.pl>
Date: Mon Dec 1 17:54:02 2014 +0100
Merge branch 'master' of https://github.com/andrex-e-schulman/fish-shell into andrex-e-schulman-master
commit f32953064e
Author: Andrew Schulman <andrex-e-schulman@users.noreply.github.com>
Date: Mon Dec 1 05:34:29 2014 -0500
improve descriptions of pkg and diff
commit 81def0fb30
Author: Andrew Schulman <andrex-e-schulman@users.noreply.github.com>
Date: Mon Dec 1 04:51:20 2014 -0500
simplify cygport option descriptions
commit 4d84eb3e5c
Author: Andrew Schulman <andrex@5200-glenwood.net>
Date: Mon Dec 1 04:32:47 2014 -0500
add command descriptions to share/completions/cygport
commit c7ff7e4fa2
Author: Andrew Schulman <andrex@5200-glenwood.net>
Date: Mon Dec 1 03:09:00 2014 -0500
add share/completions/cygport.fish
2014-12-01 17:54:59 +01:00
Rack Lin
bfd1951023
Added export
alias for set global variable, made for sh/bash/zsh compatibility
...
Signed-off-by: Rack Lin <racklin@gmail.com>
Signed-off-by: David Adam <zanchey@ucc.gu.uwa.edu.au>
2014-12-01 15:43:57 +08:00
Vladimir Varankin
019c0fed23
Add completion for git-clean
2014-11-29 00:15:49 +03:00
王邈
bb01e5f81a
Added Chinese translation.
...
Signed-off-by: David Adam <zanchey@ucc.gu.uwa.edu.au>
2014-11-27 14:19:03 +08:00
ridiculousfish
8526a82947
Fix for issue where fish_indent would lose blank lines
2014-11-25 10:43:03 -08:00
Kevin Ballard
94a3203c74
Disable localizations during tests
2014-11-25 01:44:58 -08:00
Kevin Ballard
184110c2e7
Revert "tests/status.in: fix test for locale, fall back to default strings"
...
This reverts commit 3b3fde1c5e
.
2014-11-25 00:51:39 -08:00
David Adam
3b3fde1c5e
tests/status.in: fix test for locale, fall back to default strings
2014-11-25 16:00:04 +08:00
David Adam
60a2e0a2ad
Update English translation
2014-11-25 15:46:13 +08:00
David Adam
c78e56c509
Update various strings for translation, avoid _ for non-translations
...
Use __ instead of _ as a placeholder for ignored variables in `read`
statements.
2014-11-25 15:37:30 +08:00
David Adam
190cac07a3
grep.fish: don't set GREP_COLOR
...
grep will fall back to the default colors.
Closes #1316 .
2014-11-25 08:48:16 +08:00
David Adam
efc3846fcf
grep.fish: don't use GREP_OPTIONS as it is deprecated
...
Closes #1825 .
2014-11-25 08:47:30 +08:00
Kevin Ballard
83df5ea660
Define a common mktemp
for tests
...
GNU and BSD `mktemp` handle options differently, and it's a useful
utility for tests. As such, define a common `mktemp` function wrapper
for the test suite.
It might actually be nice to expand this for more flags and support it
globally, but that may result in confusion for any users of BSD mktemp
that expect to be running /bin/mktemp.
2014-11-24 01:51:07 -08:00
Kevin Ballard
e13d423b68
Tweak test runner to set up environment better
...
Update the test runners so they set up their own environment in
test_util.fish. This simplifies the Makefile and paves the way for
adding utility functions for use in the tests themselves.
2014-11-24 01:51:07 -08:00
ridiculousfish
eafd577629
Hack the tokenizer to compress multiple adjacent newlines into one
...
This slightly reduces the size of parse trees, and is otherwise a
minor optimization
2014-11-24 01:23:42 -08:00
ridiculousfish
196a7c9d18
Add a helpful comment warning of a nonsense result from tok_last
2014-11-24 01:23:41 -08:00
David Adam
daa856ed47
Makefile: add pkgconfig file to uninstall target
2014-11-23 14:41:22 +08:00
ridiculousfish
04dc0aca50
Fix issue where tab completions could ignore command-specific completions
...
Fixes #1742
2014-11-20 11:12:19 -08:00
David Adam
918d5595bd
__fish_config_interactive: send CWD via escapes in Apple Terminal
...
Closes #68 .
2014-11-20 14:45:11 +08:00
David Adam
0abdf9eeff
__fish_urlencode: rework to behave properly on BSD/OS X
...
Work on #68 .
2014-11-20 13:53:24 +08:00
Misty De Meo
8e8549ef7a
brew completion: update completion
...
* Remove unsupported options
* Add new 'unpack' command
2014-11-20 08:53:53 +08:00
ridiculousfish
cfc2d7fb3f
Minor commenting and cleanup in screen.cpp
2014-11-19 12:39:54 -08:00
ridiculousfish
c77f8e73c8
Stop resetting the color for the character under the cursor
...
Fixes #1821
2014-11-19 12:37:46 -08:00
ridiculousfish
dda6be2592
Use -1 instead of 0 for the notifyd token "missing value" sentinel
...
This matches NOTIFY_TOKEN_INVALID
2014-11-19 11:42:55 -08:00
ridiculousfish
93eea8de66
Filter lines starting with hash from /etc/shells and /etc/group
...
Fixes the useradd completion when these files
contains comment lines
2014-11-19 11:42:55 -08:00
David Adam
2ddd839f52
Fix error in yum completions
...
Pass -- to contains.
Closes #1811 .
2014-11-17 18:16:11 +08:00
David Adam
7555772432
Makefile: check HAVE_GETTEXT in Makefile not shell
...
Tidy up the handling of gettext/non-gettext builds a bit
2014-11-17 17:27:25 +08:00
David Adam
33f9e071a4
Makefile: remove warning about old version of gettext
...
gettext introduced the Shell interpreter in 2003; I think we can assume
everyone has it.
2014-11-17 17:23:32 +08:00
David Adam
9aaf93f364
web_config: improve abbreviations support
...
* Fetch abbreviations by reading the variable directly.
* Use space separators for writing new abbreviations.
Work on #731 .
2014-11-16 23:20:27 +08:00
David Adam
14fa48864a
abbr.fish: escape the output of abbr --show
...
Allows abbreviations containing embedded newlines, etc., to be displayed
and exported properly.
Work on #731 .
2014-11-16 23:13:22 +08:00
David Adam
206ea15b68
abbr.fish: improve support for corner cases
...
Handle unusual cases ('=abc', ' =abc') better - regression from
8e8e6314due to a7bab7b
.
Work on #731 .
2014-11-16 23:05:58 +08:00
David Adam
a7bab7b18b
abbr/web_config: support space-delimited abbreviations
...
Support for space-delimited abbreviations was added to the expansion
parser in fbade198; this commit extends that support to the user-facing
tools, and documents the space-separated behaviour. Equals-delimited
abbreviations are expected to be removed before the next release.
Work on #731 .
2014-11-15 23:48:40 +08:00
David Adam
a6a41d159c
__fish_print_packages: add support for zypper
...
Closes #1787 .
2014-11-13 18:15:35 +08:00
David Adam
59da180b8f
Makefile: install locale files to $localedir
2014-11-13 14:29:28 +08:00
David Adam
51e446bc5f
update keybindings docs
2014-11-13 14:15:56 +08:00