aboutsummaryrefslogtreecommitdiffhomepage
Commit message (Collapse)AuthorAge
* Update the docs for `complete`Gravatar Kevin Ballard2016-01-01
| | | | | | | | | | | | | | * Indicate which options can be repeated in the usage lines. * Reorder the options in usage slightly to group better. * Reorder the option descriptions to match the order as seen in usage. * Update some of the option descriptions. * Fix the documentation for -C to show that it must be `-CSTRING` instead of `-C STRING`. * Document the behavior of `-C` with no argument. * Tweak some of the explanatory text after the option list. * Delete `--authoritative` and `--unauthoritative` from the documentation entirely. Those options appear to not actually do anything in the new parser.
* hg prompt: Throw away `string match` inputGravatar Fabian Homborg2015-12-31
| | | | This would print redundant characters
* hg prompt: Fix indentationGravatar Fabian Homborg2015-12-31
|
* hg prompt: Make display slightly nicerGravatar Fabian Homborg2015-12-31
| | | | | | The "/" between branch and bookmark might be mistaken for a path. Parens (like the git prompt) make it look a bit more like a unit.
* Optimize hg promptGravatar Fabian Homborg2015-12-31
| | | | Mainly replace hg calls since python is slow to start.
* Include mount helpers in filesystem completionGravatar Fabian Homborg2015-12-30
| | | | | | Probably not a thing on OSX, but this should print nothing then. On linux, it helps detect e.g. ntfs-3g.
* Immediately define command-not-found handlerGravatar Fabian Homborg2015-12-30
| | | | | | | | | | | This skips the weird dance where we'd define a simple handler and then later overwrite with a fancier one, once the first event came in. It turns out that isn't necessary, as it doesn't actually improve startup speed because the checks needed to define fancier handlers are fast. In case we are non-interactive, still define the simple handler, and keep the default handler for users to switch to.
* git completion: Complete commits for all branchesGravatar Fabian Homborg2015-12-30
|
* Use \$ and \^ instead of their unicode codesGravatar Maxim Gonchar2015-12-30
|
* Update visual vi key bindingsGravatar Maxim Gonchar2015-12-30
| | | | | | * Add home/end, $/0 keys * Add (c)hange key * Add j/k keys for up/down
* Remove temporary set_default functionGravatar Fabian Homborg2015-12-30
| | | | | | This could potentially delete a user-defined set_default on first start. It's also trivially done with set -q var; or set -U var val.
* "Stop" should be "stomp" in fish.cpp commentGravatar ridiculousfish2015-12-29
|
* Simplify greetingGravatar Fabian Homborg2015-12-29
| | | | We have already confirmed we're interactive, and `echo` is a builtin now.
* adds dnf completions for package installsGravatar Botond Erdos2015-12-29
| | | | Since dnf accepts the same arguments as yum, just inherit.
* Fixed kill-signals completion. Added completions for OS X kill command.Gravatar lordlycastle2015-12-28
| | | | Don't generate killall completions when running on Solaris OS - `killall` there literally kills all processes.
* Remove some extra newlines from function error messagesGravatar ridiculousfish2015-12-27
|
* only swith to shell tty mode if interactiveGravatar Kurtis Rader2015-12-27
| | | | | | | | | | | | My PR #2578 had the unexpected side-effect of altering the tty modes of commands run via "fish -c command" or "fish scriptname". This change fixes that; albeit incompletely. The correct solution is to unconditionally set shell tty modes if stdin is attached to a tty and restore the appropriate modes whenever an external command is run -- regardless of the path used to run the external command. The proper fix should be done as part of addressing issues #2315 and #1041. Resolves issue #2619
* Remove phone number.Gravatar ffdd2015-12-26
|
* Mention correct config fileGravatar Jannik V2015-12-24
| | | While the tutorial explains how to set the `PATH` variable, it mentions the file `fish.config` but it should be `config.fish`.
* Add database completion for pacmanGravatar Bogdan Sinitsyn2015-12-23
|
* Update README.mdGravatar Tobias Mühl2015-12-21
| | | | I also needed the autoconf package on my system, so adding it to the general template
* double quote instead of single quoteGravatar Satender Singh Rathore2015-12-21
|
* getopt long_options to be constGravatar ridiculousfish2015-12-21
|
* simplify fish_parse_optGravatar Kurtis Rader2015-12-21
| | | | | | | | | | | | | | While investigating issue #2619 my first thought was that the problem had something to do with the "is_interactive_session" global variable. That preliminary conclusion appears to be wrong (i.e., the problem lies elsewhere). However, that hypothesis caused me to look at function "fish_parse_opt" and other mentions of "is_interactive_session". I decided to take the opportunity to simplify and improve the style of "fish_parse_opt" since I just spent an hour reviewing the code that references "is_interactive_session". For example, the "has_cmd" variable isn't really needed. And there is inconsistent whitespace not to mention confusion about bool's versus int's and zero versus NULL.
* Update Xcode project settingsGravatar ridiculousfish2015-12-19
|
* Shave 4 bytes from parse_node_tGravatar ridiculousfish2015-12-19
| | | | Bitfields ftw
* Don't define a function if there's an error in function's argsGravatar ridiculousfish2015-12-19
| | | | Fixes #2519
* Allow and/or statements to attach to the if/while headerGravatar ridiculousfish2015-12-19
| | | | | | | | | | For example: if false; or true; echo hello; end will output 'hello' now. Fixes #1428
* Write tests for new if/and/or behavior (#1428)Gravatar ridiculousfish2015-12-19
| | | | They fail for now.
* Simplify parser implementationGravatar ridiculousfish2015-12-19
| | | | | | | | Rather than returning a list of productions and an index, return the relevant production directly from the rule function. Also introduce a tag value (replacing production_idx) which tracks information like command decorations, etc. with more clarity.
* Update osx/config.h for new ifdefsGravatar ridiculousfish2015-12-18
|
* git completions: Add commit hashes for `show`Gravatar Fabian Homborg2015-12-18
| | | | | | | | | | That's probably the part where commit hashes are most used, we can add the other subcommands later. This generates a _lot_ of options, so hooking it up everywhere would be unwise, though our pager helps quite nicely with filtering - typing "Branch" will filter out the commits, and typing other things will filter the subjects, which is quite cool.
* Document prompt_pwdGravatar Fabian Homborg2015-12-17
| | | | Fixes #253
* detect and provide fallback for backtrace_symbols_fdGravatar David Adam2015-12-17
| | | | Closes #2615 to fix includes on FreeBSD and provide fallback on Cygwin.
* mount completions: Support spaces in mountpointsGravatar Fabian Homborg2015-12-17
| | | | | | This turns '\040' into a space. /etc/mtab also supports other escapes ("\\" for backslash, "\011" for tab), but I can't find documentation for those in fstab.
* Port linux __fish_print_mounted to `string`Gravatar Fabian Homborg2015-12-17
| | | | | This adds a few escape sequences, but two out of the three are theoretical and will fail a bit later.
* Make informative_git prompt use vcs_prompt -> Rename it to "Informative Vcs"Gravatar Fabian Homborg2015-12-16
|
* Switch classic + git prompt to all vcsen -> Rename it to Classic + VcsGravatar Fabian Homborg2015-12-16
| | | | Keep the variable names for now.
* Make lonetwin prompt use __fish_vcs_promptGravatar Fabian Homborg2015-12-16
|
* Add __fish_vcs_prompt helper functionGravatar Fabian Homborg2015-12-16
| | | | | | | This is supposed to be used by prompts so they'll get all known vcsen integrated. For now, there's no distinction between the different vcsen.
* Merge pull request #2607 from jakwings/docGravatar Fabian Homborg2015-12-16
|\ | | | | Improve documentations (see #354)
* | restore the terminal modes before an "exec"Gravatar Kurtis Rader2015-12-15
| | | | | | | | | | | | | | | | | | When replacing the existing fish process with a new process it is important to restore the temrinal modes to what they were when fish started running. We don't want any tweaks done for the benefit of fish (e.g., disabling ICRNL mode) to bleed thru to an "exec"ed command. Resolves #2609
* | configure/docs: update sf.net to sourceforge.netGravatar David Adam2015-12-15
| | | | | | | | | | | | Closes fish-shell/fish-site#29 [ci skip]
* | Improve mount completion (now with blockdevices!)Gravatar Fabian Homborg2015-12-13
| | | | | | | | | | | | | | | | | | | | This adds blockdevices (and directories) and fixes the regexes to no longer include comments but include UUID= and LABEL=, which at least util-linux mount understands. It also shouldn't fail on systems without fstab any longer (like default OSX). Fixes #2606.
| * Doc: Link Cartesian Product in tutorial to main documentaion.Gravatar Jak Wings2015-12-14
| |
| * Doc: Introduce Cartesian Products on the main documentaion page.Gravatar Jak Wings2015-12-14
| |
| * Doc: Introduce another simple way to separate variable names from text.Gravatar Jak Wings2015-12-14
| | | | | | | | | | This can avoid the confusion between brace expansion and the cartesian product behavior of arrays, even if braces can help to do some hacks.
* | Update vte cwd on launchGravatar Fabian Homborg2015-12-12
| | | | | | | | Fixes #2418
* | Delete upstreamed docker completionsGravatar Fabian Homborg2015-12-12
|/ | | | | A better version of these has been in an upstream release, so there's no need to keep this around.
* Update makepkg completionGravatar Fabian Homborg2015-12-11
| | | | A few options were missing and --asroot has been removed