Tim Cuthbertson
04c0ac9ee8
add __fish_urlencode function which URL-escapes stdin
2013-09-04 20:30:42 +02:00
David Adam (zanchey)
8159f55243
git version generation fixes
...
- Remove the `version` file created for the tarball after the tarball is finished
- Use the builtin type instead of which.
2013-09-02 20:08:46 +08:00
ridiculousfish
cca60adc35
Fix useradd completion syntax
...
(https://github.com/fish-shell/fish-shell/issues/863 )
2013-09-02 00:34:54 -07:00
David Adam (zanchey)
16ba544edd
docs: don't remove/rebuild share/man if we don't have doxygen
2013-09-02 13:07:31 +08:00
Adrien Grellier
f230da12c5
completion for vim-addons
2013-09-01 16:07:59 +02:00
ridiculousfish
03aae47424
Fix more indentation in fish_default_key_bindings.fish
2013-08-31 21:11:09 -07:00
ridiculousfish
df0aaa1ebe
Fix indentation
2013-08-31 21:10:11 -07:00
ridiculousfish
68f9342060
Try to improve the error message printed when libcurses is not found
2013-08-31 15:08:51 -07:00
ridiculousfish
c38a40d193
Adjust prefix completions to sort alphabetically instead of by length.
...
Other completions are still sorted by length.
https://github.com/fish-shell/fish-shell/issues/923
2013-08-31 15:01:02 -07:00
ridiculousfish
23ba7b5bff
Support iTerm2 forward/backward word escapes
...
(https://github.com/fish-shell/fish-shell/issues/920 )
2013-08-31 14:29:52 -07:00
Konrad Borowski
173fd4fd23
Replace IRC link with WebChat link
...
It seems GitHub doesn't allow irc:// protocol, so replace it with WebChat link.
2013-08-30 18:12:50 +02:00
Konrad Borowski
3a893ff17f
Put an IRC link to README.
2013-08-30 18:10:23 +02:00
Konrad Borowski
da89591a53
Initialize cycle_cursor_pos.
...
This removes the warning from compiler.
2013-08-29 13:06:04 +02:00
Konrad Borowski
097e2030b4
libncursesw5-dev is not needed on Debian
...
I just checked on new Debian installation, and only libncurses5-dev appears to be needed.
2013-08-28 09:35:22 +02:00
ridiculousfish
24f1da7f30
Add a fancy new paths_are_equivalent function to test for equivalent
...
paths instead of merely equal ones
2013-08-27 18:26:22 -07:00
ridiculousfish
85ce80d72e
Stop insisting on trying to add /usr/bin and /bin to $PATH.
...
https://github.com/fish-shell/fish-shell/pull/854
2013-08-27 18:23:33 -07:00
ridiculousfish
ec1037fcbc
Fix bad error message for certain options.
...
https://github.com/fish-shell/fish-shell/issues/979
2013-08-26 21:10:19 -07:00
Konrad Borowski
7a1bedcab6
Fix #976 . Now prompt tries to use standard git command.
2013-08-26 16:24:59 +02:00
ridiculousfish
06b4964dd8
Clean up some comments and make a function static
2013-08-26 00:05:23 -07:00
Tony Wang
d2ffdc8986
improve comments and extract a common function
2013-08-25 19:33:39 -07:00
Tony Wang
7e1a3148fb
fixed fish-shell/fish-shell#944
...
When the completion list includes the exact typed string with other
candidates, i.e. completion_t.match.type == fuzzy_match_exact,
the other candidates will be removed from the list, as they are not
the "best type". This is inconvenient for the user who wants to
type and complete commands in the other candidates.
The commit is to make the best_type to fuzzy_match_prefix as highest
priority, also, when comparing to best_type, the same or higher
priority completions can both match.
2013-08-25 19:33:39 -07:00
Tony Wang
5559962f6f
use wstat in test command to follow symbolic link
2013-08-25 15:54:06 -07:00
Tony Wang
1d67d8ff23
add -O and -G to test command
...
they are available on Linux and OS X, and now ported to fish
2013-08-25 15:54:06 -07:00
ridiculousfish
9f46881c16
Fix to respect the order of paths in /etc/paths (oops)
2013-08-25 14:02:03 -07:00
ridiculousfish
dead45fa67
Rearrange the PATH to respect the order defined in /etc/paths ( #927 ) and
...
to prepend it to $PATH instead of appending it (#950 )
2013-08-25 13:27:52 -07:00
ridiculousfish
a8af974895
Fix a C++11 compile error with clang.
...
https://github.com/mxcl/homebrew/pull/22016#issuecomment-23222977
2013-08-25 00:45:43 -07:00
ridiculousfish
8605cc685d
Fix tabs in share/functions/__fish_config_interactive.fish
2013-08-24 12:20:21 -07:00
nulltrek
9a49b2c9fb
Fix "command not found" handler behaviour.
2013-08-24 12:16:28 -07:00
ridiculousfish
b6f495d107
Expand abbreviations at the beginning of commands as discussed in https://github.com/fish-shell/fish-shell/issues/731
2013-08-24 11:47:37 -07:00
David Adam (zanchey)
05233aa6f4
configure.ac: don't add RPATH when searching for extra libs
...
Closes #766
doesn't appear to actually be required, and adding RPATH breaks Debian and OpenSUSE policy
all flames to me
2013-08-22 12:07:28 +08:00
ridiculousfish
7541fac245
Fix the build on OS X Mavericks
...
https://github.com/fish-shell/fish-shell/issues/968
2013-08-21 14:41:12 -07:00
ridiculousfish
7b6780f712
Put read pipe last so that eval works again. Addresses https://github.com/fish-shell/fish-shell/issues/966
2013-08-21 13:46:11 -07:00
ridiculousfish
d6791a836b
Include the autosuggestion in history if it was truncated
...
https://github.com/fish-shell/fish-shell/issues/650
2013-08-20 20:08:56 -07:00
lledey
69c6b007aa
Remove grep warning from make target completion
...
grep was throwing warnings when no Makefile was found
Signed-off-by: lledey <lledey@gmail.com>
2013-08-19 22:14:20 -04:00
ridiculousfish
ee113a5632
Replace some #warnings with a comment explaining why the code is OK
2013-08-19 18:17:01 -07:00
ridiculousfish
4899086b3c
Big fat refactoring of how redirections work. In fish 1.x and 2.0.0, the redirections for a process were flattened into a big list associated with the job, so there was no way to tell which redirections applied to each process. Each process therefore got all the redirections associated with the job. See https://github.com/fish-shell/fish-shell/issues/877 for how this could manifest.
...
With this change, jobs only track their block-level redirections. Process level redirections are correctly associated with the process, and at exec time we stitch them together (block, pipe, and process redirects).
This fixes the weird issues where redirects bleed across pipelines (like #877 ), and also allows us to play with the order in which redirections are applied, since the final list is constructed right before it's needed. This lets us put pipes after block level redirections but before process level redirections, so that a 2>&1-type redirection gets picked up after the pipe, i.e. it should fix https://github.com/fish-shell/fish-shell/issues/110
This is a significant change. The tests all pass. Cross your fingers.
2013-08-19 18:06:24 -07:00
ridiculousfish
f4f2847662
Trivial cleanup of a function in proc.cpp
2013-08-19 18:06:24 -07:00
ridiculousfish
fb89e1a26f
Reenable free_redirected_fds_from_pipes.
2013-08-19 18:06:24 -07:00
ridiculousfish
e849beabba
Initial work towards various IO cleanups with an eye to fixing https://github.com/fish-shell/fish-shell/issues/110
2013-08-19 18:06:24 -07:00
Konrad Borowski
2979d3bf16
Fix #684 by putting newline after $argv
...
It's rather hacky, but it sort of works. (but then, this makes fish
compare to PHP (but PHP doesn't put that newline), so perhaps I
shouldn't do that - http://git.io/GFurbg )
2013-08-18 10:57:33 +02:00
ridiculousfish
88efc73797
Actually commit the no-scope-shadowing to . function
2013-08-17 17:04:16 -07:00
ridiculousfish
77b13d02f0
Fix "." function to not shadow scopes, so the tests pass again. Remove eval's use of "." function.
2013-08-17 17:00:15 -07:00
ridiculousfish
588c520c4a
Move FISH_BUILD_VERSION from osx/config.h to the pbxproj so that we can build with the generated config.h
2013-08-17 15:46:33 -07:00
David Adam (zanchey)
d371af0504
configure.ac: remove m4_esyscmd_s
...
m4_esyscmd_s is a macro only available in Autoconf 2.64, which despite
being released in 2009 is not available on a number of build targets for
the project (specifically CentOS/RHEL 6).
ca8e4c08a7
tries to remove the error produced with m4_pattern_allow,
but that just silences the sanity check.
Instead, replace m4_esyscmd_s with m4_esyscmd + manual removal of
newlines.
2013-08-17 10:47:35 +08:00
Konrad Borowski
3e115b7a85
Mac OS X doesn't support uname -o. Use uname instead.
...
I break compatibility with Mac OS X again, that I don't have access
to. Result: Stuff break, and I have to fix it, so it will perhaps
work. At least, I hope it will work.
2013-08-16 20:48:44 +02:00
Konrad Borowski
ca8e4c08a7
Fix compilation under CentOS
...
I hope I didn't broke anything, but it works for me.
2013-08-16 19:59:16 +02:00
Mikko Viitamäki
6ec4591f02
fixing small typo
2013-08-16 11:45:15 +03:00
Konrad Borowski
679ef95257
Document source command.
2013-08-14 18:55:15 +03:00
Konrad Borowski
5818289c2d
Deprecate "." command. Fixes #310 .
...
Needs documentation (for the new name), but manages to move . to source,
while preserving compatibility.
2013-08-14 18:43:09 +03:00
Konrad Borowski
d407d680ea
Show path containing current disk drive in Windows in title
2013-08-14 12:21:17 +03:00