ridiculousfish
39ddfa2ad2
Migrate muParser to CMake
...
This adds a CMakeLists.txt inside muParser, so it can be build
with CMake.
2017-11-05 13:00:34 -08:00
ridiculousfish
cd47f9b1a2
Add an IDE-friendly CMake target
...
This adds the target build_root, which is a target that installs
fish into a directory under the build path.
2017-11-05 11:25:08 -08:00
Michihito Shigemura
f0ce62c873
Fix typo in abbr
2017-11-03 14:09:22 +01:00
Michihito Shigemura
4a4fd7e75b
Fix typo in faq
2017-11-03 14:08:48 +01:00
Michihito Shigemura
efdc62fa80
Fix typo in argparse
2017-11-03 14:08:24 +01:00
Michihito Shigemura
97a6efec77
Update link in CONTRIBUTING.md
...
http to https
2017-11-03 14:07:45 +01:00
Judson
37e0fbb5e4
Paginating last command
...
Often, I want to paginate the command I just ran.
Easy enough to <up><alt-p>, but this patch saves a keystroke.
2017-11-01 07:35:26 +08:00
David Adam
d5e5878f6d
Update tests to match behaviour from 848db48af5
2017-10-31 20:09:45 +08:00
David Adam
848db48af5
Improve warning message when exiting with active jobs
...
Work on #4303 .
2017-10-31 19:18:44 +08:00
David Adam
eb081481c6
warning message when exiting with active jobs uses PID of first process, not PGID
...
Work on #4303 .
2017-10-31 19:17:21 +08:00
David Adam
9adb3492f9
docs: fish_history can be set to the empty string
2017-10-31 18:26:31 +08:00
David Adam
b34b0cf1e3
Restore previous output of status current-{filename,function}
...
Closes #4499 .
Partial reversion of 30368d5526
.
2017-10-31 18:10:46 +08:00
David Adam
7fe7582329
docs: move fish_history entry to correct section and reword
2017-10-31 17:53:16 +08:00
Valery Ushakov
8f0f05ca44
Rewrite tparm_solaris_kludge to call tparm with default parameters
...
Closes #4502 .
2017-10-31 16:48:35 +08:00
Mahmoud Al-Qudsi
798ad363ba
Fix extra ../ in figurig out GIT_DIR in build script
2017-10-25 16:43:39 -05:00
Mahmoud Al-Qudsi
47993b48b6
Add instructions on appending to /etc/shells
...
Print the command to append safely to /etc/shells with sudo and tee upon
completion of `make install`.
2017-10-25 16:34:17 -05:00
Mahmoud Al-Qudsi
e174b8a800
Fix build on platforms without bash
...
Build script build_tools/git_version_gen.sh had a hard dependency on
bash that was causing the build to fail on systems without bash.
Closes #4491
2017-10-25 15:57:36 -05:00
Fabian Homborg
1cd43a371b
Add "chsh -l" completion for util-linux chsh
...
AFAICT, the FreeBSD and macOS option of the same name isn't useful
with chsh, so we skip that.
Fixes #4497 .
2017-10-25 20:55:05 +02:00
Laurent Pireyn
3781862346
Fix typo in gradle completion ( #4500 )
2017-10-23 20:04:47 -07:00
payasrelekar
3f76cccded
Fix a typo
2017-10-22 01:01:59 +02:00
David Adam
216c4b811a
only call ioctl to export new termsize if process is in the foreground
...
Closes #4477 .
2017-10-21 07:21:17 +08:00
Fabian Homborg
720f4ad742
Also allow "sles" as OS-ID for command-not-found-handler
...
"Suse Linux Enterprise Server".
Fixes #4447 .
2017-10-19 19:09:29 +02:00
slama
7004c30f95
allow edit across newlines wherever the cursor is if the line ends with a backslash.
...
Fixes #4467
2017-10-18 11:58:01 -07:00
ridiculousfish
d08820f697
Update xcode_version_gen.sh for new build version file format
...
FISH-BUILD-VERSION-FILE no longer contains spaces. Update
xcode_version_gen.sh to know about that.
This fixes the Xcode build.
2017-10-18 11:51:18 -07:00
Mahmoud Al-Qudsi
e1c90cac88
Prevent error output on invocation of rustc completions
...
fish was indiscriminately calling `rustc -Z help` in the autocompletion
script for `rustc`, but `-Z` (and its `-Z help` output completions) is
only available when using the nightly compiler.
Note that this isn't a perfect fix since if you try to use those command
line options now added to the autocompletions list without using the
nightly toolchain, `rustc` will still throw an error. But at least this
way we don't cause random errors about `-Z` not being available to
appear any time someone tries to use `rustc` from the fish command prompt.
2017-10-18 11:49:40 -05:00
Fabian Homborg
5196354176
git completions: Allow files for git rm
...
Fixes #4485 .
2017-10-18 13:37:13 +02:00
Fabian Homborg
d18b0be518
Revert "Fix cd completions if a directory exists in $CDPATH and $PWD"
...
That's not what happens - I had set CDPATH to start with ".".
See #4484 .
This reverts commit 1af38d69a8
.
2017-10-16 19:33:38 +02:00
Aaron Gyes
a9283803d4
Revert "Non-exported vars: rename SHLVL to shlvl"
...
Duh, of course it is exported.
This reverts commit 5fc17dcc82
.
2017-10-15 04:37:34 -07:00
Aaron Gyes
5fc17dcc82
Non-exported vars: rename SHLVL to shlvl
...
Fixes #4414
2017-10-15 04:33:27 -07:00
Aaron Gyes
5ae09c37a6
README.md: remove extra backtick
2017-10-14 14:50:31 -07:00
ridiculousfish
a1cf2e5576
Update README.md with CMake build instructions
2017-10-14 13:57:26 -07:00
Aaron Gyes
0c1984eb6c
Fix a grammer mistake in docs
2017-10-14 13:17:59 -07:00
ridiculousfish
2ca7b88d49
Stop linking against libform in cmake build
...
Switch to ${CURSES_LIBRARY} and ${CURSES_EXTRA_LIBRARY}
instead of ${CURSES_LIBRARIES} to reduce the linked libraries
in the CMake build.
2017-10-14 13:11:42 -07:00
ridiculousfish
cb9c077850
Add support for dladdr in CMake build
...
This links against CMAKE_DL_LIBS, reflecting the recent change
73f2992a2
.
2017-10-14 13:11:42 -07:00
ridiculousfish
31348bee46
Improve IDE grouping in the CMake build
...
This adds intelligent groups and hides unused files when generating
IDE projects (Xcode, CLion, etc) in the CMake build.
2017-10-14 13:11:42 -07:00
ridiculousfish
b49b2f5a84
Add support for running high-level tests under CMake
...
This adds support in Tests.cmake for running the script and other
"high level" tests, in addition to the unit tests fish_tests.
2017-10-14 13:11:42 -07:00
ridiculousfish
a7f22f7df3
Factor fish sources into library in CMake build
...
This adds a new library fishlib, which the CMake build builds.
This library is linked by the tests, fish, and fish_indent, so
that object files do not have to be built separately for each
of them.
2017-10-14 13:11:42 -07:00
ridiculousfish
4113e406a9
Add install step to CMake build
...
This adds a file Install.cmake for installing fish. It is
quite incomplete; in particular it does not support building
the docs.
2017-10-14 13:11:42 -07:00
ridiculousfish
0909fe12e8
Additional work on building docs with CMake
2017-10-14 13:11:42 -07:00
ridiculousfish
861b55d7d8
Build FISH-BUILD-VERSION-FILE in CMake build
...
This adds support for creating the FISH-BUILD-VERSION-FILE in the CMake
build. A FISH-BUILD-VERSION-FILE is created in the CMake directory
and only updated when necessary.
2017-10-14 13:11:42 -07:00
ridiculousfish
d7baabab8d
Factor out script to build user_doc
...
As part of factoring out the documentation building parts of the fish
build, add a new file build_user_doc.sh that builds the user_doc directory.
Invoke it from both the Makefile and CMake build.
2017-10-14 13:11:42 -07:00
ridiculousfish
dd9e057c6b
Factor out script to build index.hdr
...
As part of factoring out the documentation building parts of the fish
build, add a new file build_index_hdr.sh that builds the index.hdr
file. Invoke it from both the Makefile and CMake build.
2017-10-14 13:11:42 -07:00
ridiculousfish
baba19c180
Factor out script to build index.hdr
...
As part of factoring out the documentation building parts of the fish
build, add a new file build_index_hdr.sh that builds the index.hdr
file. Invoke it from both the Makefile and CMake build.
2017-10-14 13:11:42 -07:00
ridiculousfish
088450cbf5
Factor out script to build commands.hdr
...
As part of factoring out the documentation building parts of the fish
build, add a new file build_commands_hdr.sh that builds the commands.hdr
file. Invoke it from both the Makefile and CMake build.
2017-10-14 13:11:42 -07:00
ridiculousfish
f044084f3a
Factor out building lexicon_filter into separate script
...
This adds a new script build_tools/build_lexicon_filter.sh
that builds the lexicon filter. It is factored out from the Makefile,
and both the Makefile and CMake build invoke it.
2017-10-14 13:11:41 -07:00
ridiculousfish
6ff0f86606
Define fish_indent and fish_key_reader in CMake
...
This adds CMake targets for fish_indent and fish_key_reader.
2017-10-14 13:11:41 -07:00
ridiculousfish
af6bbbf83e
Support for fish_tests
...
This adds a basic Tests.cmake that can build and run fish_tests.
It also adds a 'test' target.
2017-10-14 13:11:41 -07:00
ridiculousfish
fe37a1646d
Build pcre2 and muparser with CMake
...
This adds files MuParser.cmake and PCRE2.cmake. PCRE2 is built using
its own CMake path, while MuParser uses ExternalProject.
2017-10-14 13:11:41 -07:00
ridiculousfish
9f8ae95b0e
Initial CMake import
...
This adds a basic CMakeLists.txt. It also adds a ConfigureChecks.cmake
and config_cmake.h.in that produces a config.h.
2017-10-14 13:11:41 -07:00
Aaron Gyes
fb8ae04f80
Rename $FISH_VERSION back to the original $version.
...
Order is restored in the universe. Fixes #4414
2017-10-14 08:33:02 -07:00