Permalink
Commits on Apr 24, 2017
  1. refactor the __*_users functions

    Per my comment in issue #3980 this implements `__fish_print_users` in
    terms of `__fish_complete_users` so we don't have to modify both when a
    change to how users are enumerated is needed.
    krader1961 committed Apr 24, 2017
Commits on Apr 23, 2017
  1. Identifiers: Fix typo.

    Function names can indeed not contain a "/".
    faho committed Apr 23, 2017
  2. fish_clipboard_paste: Turn \r into \n

    We already do this in bracketed-paste because it's really confusing to
    have a \r literal in the commandline.
    faho committed Apr 23, 2017
  3. Fix pasting backslashes

    Another missing escape.
    
    Fixes #3981.
    faho committed Apr 23, 2017
  4. limit `bind` mode names to the rules for var names

    The bind mode names can be, and are, used in the construction of fish
    variable names. So don't allow users to use names that are not legal as
    a variable name. This should not break anything since, AFAICT, no
    existing fish scripts, including those provided by Oh-My-Fish and
    Fisherman define bind modes that would not be legal with this change.
    
    Fixes #3965
    krader1961 committed Apr 23, 2017
Commits on Apr 22, 2017
  1. simplify and clarify valid identifiers

    This is the first step in addressing issue #3965. It renames some of the
    functions involved in validating variable and function names to clarify
    their purpose. It also augments the documentation to make the rules for
    such identifiers clearly documented.
    krader1961 committed Apr 20, 2017
Commits on Apr 21, 2017
  1. [hg completions] remove a grep and use hg's native query syntax

    This has the side benefit of working around a wild bug with readline+fish that I've reported to the upstream readline developers. (The result of that bug is that the hg processes are constantly being leaked as `bg` jobs in the shell, which is how I came to notice this in the first place)
    alex committed with faho Apr 21, 2017
  2. __fish_config_interactive: Prefer python3

    Also includes the CHANGELOG.
    faho committed Apr 20, 2017
  3. fish_config: Pick a python

    Also remove a use of `eval` and `string escape`.
    
    Fixes #3970.
    faho committed Apr 20, 2017
  4. fish_update_completions: Pick a python

    This removes a need for packagers to either patch our shebangs or pick
    a particular python.
    
    This was already done in __fish_config_interactive (where we need to
    duplicate the code because it involves backgrounding).
    
    Work towards #3970.
    faho committed Apr 20, 2017
  5. fix fish greeting regression

    Fixes #3973
    krader1961 committed Apr 21, 2017
Commits on Apr 20, 2017
  1. lua completions: Try harder to find libraries

    Fedora puts them in /usr/lib64 without having /usr/lib as a symlink.
    
    Also silence errors (in case a directory doesn't exist) and stringify.
    
    See https://bugzilla.redhat.com/show_bug.cgi?id=1442628.
    
    CC @amluto.
    faho committed Apr 20, 2017
Commits on Apr 19, 2017
Commits on Apr 18, 2017
  1. Tighten MANPATH test

    This is to fix tests on Travis, since that stores the commit message in an environment variable.
    
    `env | grep MANPATH` of course picks it up and generates unwanted output.
    
    Yes.
    faho committed Apr 18, 2017
  2. Group `read` changes in CHANGELOG

    Also attempt to defeat Travis.
    faho committed on GitHub Apr 18, 2017
  3. Update CHANGELOG entry for empty $*PATH components

    This was later changed to auto-convert these and expanded to $PATH and $MANPATH as well.
    faho committed on GitHub Apr 18, 2017
  4. Changelog $USER changes

    faho committed Apr 18, 2017
  5. Force setting $USER if UID is 0

    Works around some weird su implementations.
    
    Fixes #3916.
    faho committed Apr 7, 2017
  6. fix bug I introduced by previous squash merge

    When I squash merged to create commit a9db99a I overlooked updating
    the unit test.
    krader1961 committed Apr 18, 2017
  7. change cancel_commandline function to use color from variable

    This allows the user to define how they want the "^C" rendered when a
    pending command line is interrupted.
    frangio committed with krader1961 Apr 11, 2017
  8. Rename replace-one to replace_one

    Fixes invalid character in variable name $fish_cursor_replace-one (used by fish_vi_cursor[_handle]) by renaming bind mode 'replace-one' to 'replace_one'.
    b1narykid committed with krader1961 Apr 17, 2017
Commits on Apr 17, 2017
  1. Terraform completions (#3960)

    * Basic Terraform completion supporting all commands
    
    * Option completion for Terraform commands
    
    * Search command line in reverse order
    
    * CHANGELOG entry
    
    * Fix `terraform untaint` completion
    
    * Use common completion functions to handle subcommands
    
    * Use imperative form and remove CHANGELOG changes
    adambyrtek committed with faho Apr 17, 2017
  2. Warn when function is not modified by the editor after calling `funce…

    …d` (#3961)
    
    * Check whether tmp file was modified in `funced`
    
    * More idiomatic error messages
    
    * Store the checksum in a local variable
    
    * MD5 function supporting both GNU and BSD
    
    * Use `else if` in MD5 function
    
    * Use `string` builtin instead of `cut`
    adambyrtek committed with faho Apr 17, 2017
Commits on Apr 16, 2017
  1. remove transitory test directory

    Reinstatate a command to remove a temporary directory that inadvertently
    removed by commit 49518b7.
    krader1961 committed Apr 16, 2017
  2. mark __fish_sgrep as deprecated

    Fixes #2450
    krader1961 committed Apr 16, 2017