aboutsummaryrefslogtreecommitdiffhomepage
path: root/share
Commit message (Collapse)AuthorAge
...
* Git prompt: Only shorten sha if neededGravatar Fabian Homborg2016-05-28
| | | | | | | | | | | This speeds up the common case when IO is slow, e.g. when used with sshfs. We only use the short sha for figuring out whether the state is valid (for which a long sha should also work) and for display when HEAD is detached (I think that's the correct git-ism). Working towards #3083.
* Funced: Make removal safer, take twoGravatar Fabian Homborg2016-05-28
| | | | | Now we try to remove the file and then the directory, without forcing anything, showing any (quite unexpected) error to the user, once.
* Split off __fish_complete_blockdevice from mount.fish.Gravatar Frederik “Freso” S. Olesen2016-05-27
| | | | | | The __fish_complete_blockdevice function can be useful to other completions than mount.fish, so it should live on its own so its available to those.
* Remove executable flag from pacaur completion.Gravatar Frederik “Freso” S. Olesen2016-05-27
|
* Run fish_indent on default_key_bindingsGravatar Fabian Homborg2016-05-25
|
* Add clipboard helper functions and bind themGravatar Fabian Homborg2016-05-25
| | | | \cy copies, \cv pastes.
* Funced: Limit damage when removing tmpfileGravatar Fabian Homborg2016-05-24
| | | | | | This will now only forcibly remove _files_, not directories. $tmpdir _should_ be something only we use in /tmp, but mktemp might screw up.
* Test for Atom Package Manager now passes correctlyGravatar Dan Underwood2016-05-24
| | | Move to `string match` syntax from `grep` caused test to see if the Atom Package Manager is installed to always fail. This appears to fix the issue (tested on fish 2.3.0 with apm 1.6.0).
* Simplify some code in abbrGravatar Fabian Homborg2016-05-23
| | | | We actually need less duplication here.
* Fix printing "--" in abbr --showGravatar Fabian Homborg2016-05-23
|
* Fix "--" argument in abbrGravatar Fabian Homborg2016-05-23
|
* Don't mangle arguments in abbrGravatar Fabian Homborg2016-05-23
| | | | | | | This now (rightly) throws an error if there's a space in the key (because we can't store it). Fixes #2997.
* Fix funced's tmpfile generation on OSXGravatar Fabian Homborg2016-05-23
| | | | OSX mktemp... isn't great, so work around that fact.
* Check validity of fish_key_bindingsGravatar Fabian Homborg2016-05-22
| | | | | | This potentially leads to an unusable session (when fish_key_bindings is set in config.fish to a value without corresponding function), so we should take care.
* Improve asp's package completionGravatar Fabian Homborg2016-05-19
|
* Add networkctl completionGravatar Fabian Homborg2016-05-19
| | | | Very simple, but effective.
* Remove stray "=" from completions.Gravatar Fabian Homborg2016-05-19
|
* Implement src:dest for git push completionGravatar Fabian Homborg2016-05-19
| | | | | | | This allows specifying a local branch to push to a certain remote branch. Fixes #3035.
* Add completion for `ip`Gravatar Fabian Homborg2016-05-19
| | | | | | | | This is quite ugly because the syntax is ugly, the documentation both under- and overspecified at the same time (a BNF that isn't...) and it has a lot of functionality. But the completion works half-decent for `ip address`, so let's ship it.
* Use fonts found on terminals for the web config.Gravatar Aaron Gyes2016-05-18
| | | | | | | | | Instead of just using Courier New across the board, have the browser try several likely available fonts before defaulting to the system's "monospace". Thanks @MarkGriffiths Fixes #2924
* add `function --shadow-builtin` flagGravatar Kurtis Rader2016-05-14
| | | | | | | | | | | | | | It's currently too easy for someone to bork their shell by doing something like `function test; return 0; end`. That's obviously a silly, contrived, example but the point is that novice users who learn about functions are prone to do something like that without realizing it will bork the shell. Even expert users who know about the `test` builtin might forget that, say, `pwd` is a builtin. This change adds a `--shadow-builtin` flag that must be specified to indicate you know what you're doing. Fixes #3000
* Remove the errant newline in __fish_cancel_commandline againGravatar ridiculousfish2016-05-13
|
* git: Complete reflog for resetGravatar Fabian Homborg2016-05-13
|
* fix typo in webconfig.py commentGravatar CoolOppo2016-05-11
|
* Indent git completionGravatar Fabian Homborg2016-05-11
| | | | It's about time I finally fixed my emacs config.
* git completion: Complete commits for cherry-pick if at least threeGravatar Fabian Homborg2016-05-11
| | | | characters are given
* git completion: Fix option-before-command for stashGravatar Fabian Homborg2016-05-11
| | | | | Because it allows sub-subcommands, it has functions to determine which, if any, is used. These were too simplistic.
* git completion: More stringificationGravatar Fabian Homborg2016-05-11
|
* git completion: Allow --pretty for more commandsGravatar Fabian Homborg2016-05-11
| | | | This _should_ be all of them.
* git completion: Allow more than one arg to using_commandGravatar Fabian Homborg2016-05-11
| | | | | | Now we can easily add an option to multiple commmands. This should also fix some edgecases.
* git completion: Show commits for revert and tag --containsGravatar Fabian Homborg2016-05-11
|
* Add git commit --fixup completions (#3021)Gravatar Terje Larsen2016-05-11
|
* fix the style of several functionsGravatar Kurtis Rader2016-05-08
| | | | | | I'm going to modify these functions as part of dealing with issue #3000 and don't want those changes to be masked by running the files through `make style`.
* docs: fix location of generated_completions (#3010)Gravatar Vladimír Čunát2016-05-08
|
* Added completions for rmmod (#3007)Gravatar [Redacted]2016-05-08
|
* Add tags to completion list for git show. (#2998)Gravatar Daniel Bergmann2016-05-07
|
* Change abbr to allow non-letter keys (#2996)Gravatar Elis Axelsson2016-05-06
|
* Remove useless case completionsGravatar Fabian Homborg2016-05-04
| | | | | It doesn't take options and what it takes (arbitrary strings) we can't sensibly complete.
* add floating point output to `math` commandGravatar Kurtis Rader2016-05-03
| | | | | | | | | | | This makes it easy for the user to request floating point output with the desired number of digits after the decimal point (not to be confused with significant digits). Note that this is just a thin wrapper so someone can say `math -s3 10 / 3` rather than `math "scale=3; 10 /3"`. Resolves #1643
* Bind btab also in vi-bindingsGravatar Fabian Homborg2016-05-03
| | | | | | It wasn't inherited. Fixes #2964.
* Add missing color definitions to __fish_init_1_50_0 reset. (#2987)Gravatar Jorge Bucaran2016-05-01
| | | | | | | | | | | | | | * Add missing color definitions to __fish_init_1_50_0 reset. The values where determined by inspecting the values of: * fish_color_end * fish_color_user * fish_color_host after resetting the color theme via fish_config. * Add documentation for fish_color_user and fish_color_host.
* don't use colors when writing the ^C indicatorGravatar Kurtis Rader2016-04-30
| | | | There was an extended discussion in https://github.com/fish-shell/fish-shell/issues/2904 about using a bright yellow background to make the cancelled command indicator, ^C, standout. The upshot was that standout (i.e., reversing fg/bg colors) mode should be used until themes are agumented with proper support for background colors and special characters.
* Remove using_command from netctl completionsGravatar Fabian Homborg2016-04-30
| | | | | | This allows `; and netctl` to work. First step towards #2705.
* git completion: Allow optional "+" for pushGravatar Fabian Homborg2016-04-30
| | | | | | | | This signifies a force-push. To avoid cluttering, only complete branches if a + is already given. Fixes #2879.
* Add repository/refspec completion to gitGravatar Fabian Homborg2016-04-30
| | | | | | | A few commands (fetch, pull and push at least) take a "repository" (aka "remote") and then a "refspec" (we currently do branches here). Fixes #2525 (seems that man is still alive)
* Erase the autosuggestion in fish_cancel_commandline by clearing to EOLGravatar ridiculousfish2016-04-29
|
* Remove an errant newline in the fish_cancel_commandline outputGravatar ridiculousfish2016-04-29
| | | | | Now the next line appears immediately after the cancelled line, without an intervening newline
* git takes --help even when it needs a command (#2984)Gravatar Sanne Wouda2016-04-29
| | | `git --help` is a valid command and fish should complete it as such
* clarify fish_vi_mode deprecation warningGravatar Kurtis Rader2016-04-28
| | | | | | | Also, correct the Vi mode default escape timeout. I intended it to be 100 ms in my previous change but it ended up 10 ms which is far too short. A 10 ms delay will continue to cause problems for people running fish inside `screen`, `tmux`, or over high latency connections.
* provide a realpath implementationGravatar Kurtis Rader2016-04-28
| | | | | | | Not all distros have a `realpath` command. Provide a function that uses the real command if available else use the fish builtin. Fixes #2932