aboutsummaryrefslogtreecommitdiffhomepage
Commit message (Collapse)AuthorAge
* 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
* Don't evict autoloaded functions from background threadsGravatar ridiculousfish2015-03-23
| | | | | | | | Fixes a bug where generating a lot of autoloaded functions from syntax highlighting would result in evicting nodes on background threads, resulting in a thread error. Fixes #1989
* Make "readahead" text insertion clear the pagerGravatar ridiculousfish2015-03-23
| | | | | | | Without this change, pasting text with the pager contents visible would not clear the pager. Fixes #1974
* Use natural (digit-sequence-aware) sorting for wildcard expansionGravatar ridiculousfish2015-03-23
| | | | Fixes #1993
* travis: parallel makeGravatar David Adam2015-03-20
|
* travis: add gitter.im room (experimental)Gravatar David Adam2015-03-20
|
* Add paging into navigating pagerGravatar Martin Hamrle2015-03-20
|
* Updated exit.txt reference to sourceGravatar Lucretiel2015-03-18
| | | Changed the text referencing 'source' in exit.txt from '.' to 'source'
* abbr: coalesce multiple arguments to --addGravatar David Adam2015-03-13
| | | | Makes the behaviour of the script match the documentation.
* reader.cpp: during forced exit, send SIGHUP to foreground processes onlyGravatar David Adam2015-03-12
| | | | Closes #1771.
* Fix return value of if/else statements to match POSIX. Hopefully should ↵Gravatar Geoff Nixon2015-03-11
| | | | close #1443, and reverses some of #1061 / e632d39b.
* Merge branch 'Integration_2.1.2'Gravatar David Adam2015-03-11
|\
* | systemctl: Fix devices/slices/scopes/swaps completionGravatar Fabian Homborg2015-03-11
| | | | | | | | | | A rogue single-quote meant that a non-existent function '__fish_systemctl_$t' was called
* | Fix typo in comment.Gravatar Ryo ONODERA2015-03-07
| | | | | | | | * DragonFly BSD is not Dragonfly BSD.
* | Revert "Adjust filters a bit" - it doesn't work for .serviceGravatar Fabian Homborg2015-03-06
| | | | | | | | | | | | | | | | Unfortunately, list-unit-files doesn't understand --state=loaded This needs a new function to explicitly use list-units This reverts commit 9f521b7694780c1e3606c6c58ad7aca78c5cfdca.
* | Adjust filters a bitGravatar Fabian Homborg2015-03-06
| | | | | | | | | | This includes only showing unmasked units in mask, only loaded units in start and more types in show/list-dependencies
* | Make enable/disable completions work againGravatar Fabian Homborg2015-03-06
| | | | | | | | Was single-quoted, should have been double-quoted
* | Simplify code by removing duplicated descriptionsGravatar Fabian Homborg2015-03-06
| | | | | | | | For-loops ftw!
* | systemctl completions: Improve option handlingGravatar Fabian Homborg2015-03-06
| |