aboutsummaryrefslogtreecommitdiffhomepage
Commit message (Collapse)AuthorAge
* bump version for 2.21bGravatar David Adam2015-05-05
|
* doc: faq: avoid overwriting config.fish.Gravatar Jakukyo Friel2015-05-03
| | | | | | | | | | | | | | In FAQ: > I'm seeing weird output before each prompt when using screen. What's wrong? The command provided is echo 'function fish_title;end' > ~/.config/fish/config.fish Using `>` will overwrite current config.fish. We should use `>>` instead.
* added cursor:pointer to master_element in web_config cssGravatar Brendan Whitfield2015-05-03
|
* Disable __fish_parse for 2.2 releaseGravatar ridiculousfish2015-05-02
| | | | Fixes #1809
* Don't stop history search on repaintGravatar ridiculousfish2015-05-02
| | | | Fixes #2044
* Treat comments ending in backslashes as not continuing onto the next lineGravatar ridiculousfish2015-05-02
| | | | Fixes #1255
* Correct a reference to the wrong issue. 613, not 163!Gravatar ridiculousfish2015-05-02
|
* Use a more appropriate type for the reader_test functionGravatar ridiculousfish2015-05-02
|
* Upgrade Xcode project format to latestGravatar ridiculousfish2015-05-02
|
* Teach Xcode build to create vendor_completions.d directoryGravatar ridiculousfish2015-05-02
| | | | Per #1485
* docs: document pkg-config command for vendor_completions.dGravatar David Adam2015-05-01
|
* docs: document __fish_complete_path functionGravatar David Adam2015-05-01
| | | | Introduced with 6ece852 for #834.
* CHANGELOG: remove, unusedGravatar David Adam2015-05-01
| | | | [skip ci]
* Use mode 0600 for history fileGravatar ridiculousfish2015-04-29
| | | | Fixes #2041
* Recalculate exported variables when universal variable is erasedGravatar ridiculousfish2015-04-29
| | | | Fixes #2046
* Remove a redundant implementation of append_syntax_errorGravatar ridiculousfish2015-04-29
|
* Rework error messages to be shorter and to handle more special bash-ismsGravatar ridiculousfish2015-04-29
| | | | | | Example: we can point $* to argv Fixes #1288
* Add test for error messagesGravatar ridiculousfish2015-04-25
| | | | Preparation for issue #1228
* typoGravatar Ingo Blechschmidt2015-04-25
|
* Reset the color after printing the CWD in classic+git promptGravatar ridiculousfish2015-04-23
| | | | Fixes #2034
* Only pass the command name to command-not-foundGravatar ridiculousfish2015-04-20
| | | | | | | | With the fix for #365, fish_command_not_found event handlers receive the command and all of its arguments. But commands like /usr/lib/command-not-found expect only the command name. So when invoking an external command, just pass the command name, not all of the arguments.
* Support for a "pending item" in history.Gravatar ridiculousfish2015-04-20
| | | | | | | | | | | Before running a command, we add the command to history, so that if the command causes us to exit it's still captured in history. But that command should not be considered part of history when expanding the history within the command itself. For example, `echo $history[1]` should be the previously run command, not `echo $history[1]` itself. Fixes #2028
* rewrite input_mapping_execute for clarityGravatar Sanne Wouda2015-04-19
| | | | | | | | | | | | | | | For the case ``` bind \et "commandline -i 1" "commandline -i 2" ``` the order of execution of the commands is now in-order. Note that functions codes are prepended to the queue in reverse order, so they will be executed in-order. This should allow all bindings of the form ``` bind \et beginning-of-line force-repaint ``` to remain unchanged.
* Change lookahead_list into a queueGravatar Sanne Wouda2015-04-19
| | | | | | | | | | | | | | Using builtin `commandline -f`, one would expect to have commands executed in the order that they were given. This motivates the change to a queue. Unfortunately, fish internals still need lookahead_list to act as a stack. Add and rename functions to support both cases and have lookahead_list as a std::deque internally. This code is delicate, and we should probably dog-food this in nightly for a while before the next-minor release. Fixes #1567
* Pass entire argv content to fish_command_not_found recipientsGravatar Roman Hargrave2015-04-19
|
* Added completions for `apt` commandGravatar Roman Hargrave2015-04-16
|
* Revert "document evaluation of /etc/profile.d/*.fish, introduced in 20a6b65"Gravatar Konrad Borowski2015-04-14
| | | | This reverts commit e17f6fb2dcdbc147cfdb4a55639ad784a927f2a6.
* Revert "Source files /etc/profile.d/*.fish at startup"Gravatar ridiculousfish2015-04-14
| | | | | | Per discussion in #1956, back this out until we have consensus. This reverts commit 20a6b65b2536c4f59934a2e52271cfa814a586ea.
* translations: update new stringsGravatar David Adam2015-04-13
|
* Simplify begin_header productionGravatar Sanne Wouda2015-04-13
| | | | The TOK_END is swallowed by the subsequent job_list anyway.
* Add test cases for parsing 'begin' without ';'Gravatar Sanne Wouda2015-04-13
|
* Modify parser to accept 'begin' without ';'Gravatar Sanne Wouda2015-04-13
| | | | | | | | | | | | Examples that work as expected (even completions don't get confused): $ begin true; end; $ begin if true; end; end $ begin if true; echo hi; end The last example correctly expects another 'end' to match 'begin'. Fixes #1248.
* fish.cpp: check for fishd from old version and warn if reachableGravatar David Adam2015-04-12
| | | | | | | | Work on #1730. With thanks to Andrew Lutomirski (github.com/amluto) for the SOCK_DGRAM trick: https://github.com/fish-shell/fish-shell/pull/2023#issuecomment-91866965
* .gitignore: fishd is deadGravatar David Adam2015-04-12
|
* Tombstone only when explicitly removing a function.Gravatar Sanne Wouda2015-04-08
| | | | | | | | | Do not tombstone a function when it is evicted normally from the LRU cache. This broke changing `fish_function_path`, since that would evict all nodes, resulting in accidental tombstones, which caused autoloaded functions to never be reloaded. See #213.
* Switch back to insert mode after executing a command in vi modeGravatar ridiculousfish2015-04-08
| | | | Fixes #1933
* add completions for test kitchenGravatar Nathan L Smith2015-04-07
|
* Fix funcsave to not delete the function it just createdGravatar ridiculousfish2015-04-06
| | | | | | | | | | In 73f344f41bd2, we allowed autoloaded functions to be deleted. For some reason, funcsave immediately deletes the function it creates. This previously did very little, since the function would immediately be re-autoloaded, but with the fix for 73f344f41bd2 the function gets tombstoned. So the effect is that funcsave makes the function disappear! This simply removes the erase call, which dates back to fish 1.x.
* Small tweaks to clarify some codeGravatar ridiculousfish2015-04-06
| | | | | Adds a comment about a recursive lock, and changes an ==1 to >0 for improved clarity
* Revert 1349d12 and properly fix #213Gravatar Sanne Wouda2015-04-06
| | | | | | | | | | | As suggested by @ridiculousfish, when removing autoloaded functions, add them to a tombstones set. These functions will never be autoloaded again in the current shell, not even when the timestamp changes. Tested as per comment 1 of #1033. `~/.config/fish/functions/ls.fish` contains the function definition. `function -e ls` removes the redefined `ls` (and reverts back to the built-in command). `touch .../ls.fish` does not cause the function to be reloaded.
* Add a test for issue #1987Gravatar ridiculousfish2015-04-05
|
* Ignore comments for backslash newlineGravatar Sanne Wouda2015-04-05
| | | | | | | | | | | | | | | | | Works also if tok->show_comments (for highlighting and auto completion) and with multi-line comments: function my_function echo "hello" | \ #remove 'l' #and more tr -d 'l' end $ my_function heo Fixes #983
* Fix #1978:"ul: unknown escape sequence" when asking for helpGravatar Sanne Wouda2015-04-04
| | | | | | It seems that `ul` can't handle the escape sequences for bold text that `nroff` generates on my system. Fixed by either removing `| ul`, or adding `-c` to the `nroff` command. Needs testing for old (OSX?) versions of nroff.
* __fish_complete_python: fix regex to be POSIX-compatibleGravatar David Adam2015-03-30
| | | | Closes #2004.
* Revert "__fish_config_interactive: warn users that fishd is going away"Gravatar David Adam2015-03-30
| | | | | | This reverts commit ad61c3f0d6be8b7eca4a70ccd29ba7ca6565cc6c. Work on #1730.
* __fish_config_interactive: warn users that fishd is going awayGravatar David Adam2015-03-26
| | | | Work on #1730
* docs: move discussion of fishd file to universal variable sectionGravatar David Adam2015-03-26
|
* document evaluation of /etc/profile.d/*.fish, introduced in 20a6b65Gravatar David Adam2015-03-26
| | | | Work on #1956.
* Use $PWD instead of (pwd) in sample promptGravatar ridiculousfish2015-03-24
| | | | | | This improves the case where the working directory has vanished Fixes #1857
* Source files /etc/profile.d/*.fish at startupGravatar ridiculousfish2015-03-24
| | | | Fixes #1956