Skip to content

Latest commit

 

History

History
67 lines (55 loc) · 2.4 KB

CHANGELOG.md

File metadata and controls

67 lines (55 loc) · 2.4 KB

Changelog

All notable changes to this project will be documented in this file.

The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.

1.2.0 - 2019-02-14

Added

  • Completion for command options. (Only template keywords are supported before)
  • Customize templates location with environment variable GI_TEMPLATE with fallback
    1. .git-ignore directory under this plugin's root folder
    2. $XDG_DATA_HOME/git-ignore
    3. $HOME/.local/share/git-ignore

Changed

  • Separate compdef into file function/_git-ignore to speed thing up.
  • Improve globbing for template fetching.
  • Move default template location to compliant with XDG base directory

Fixed

  • Correct folder name function as functions
  • Quit fzf menu directly if no item is selected, skip the later output prompt.

1.1.0 - 2019-01-23

Added

  • New CLI with many useful options.
  • git sub-command git ignore.

Changed

  • Separate the core function as script git-ignore.
    • -l, list all template names.
    • -s, search with keyword for available templates.
    • -u, init/update templates repo.
    • -c, clean local templates repo.
    • -h, help menu.
    • -v, version display.
  • Command name gitignore is changed as git-ignore.

Removed

  • Unnecessary external command basename.
  • Pre-defined settings for bat.

1.0.0 - 2019-01-23

Added

  • Simple completion for templates implemented using compadd.
  • Preview in README.
  • Support for general plugin mangers with *.plugin.zsh filename pattern.

Changed

  • Get back the output menu after selection made in fzf. Cancel the removal made by forgit.

Fixed

  • Scroll the preview section in fzf with mouse.

Removed

  • Unnecessary fzf option --bind='ctrl-s:toggle-sort'.
    • The input for it is already sorted.
  • Optimize the script by using glob and variable expansion, removing:
    • Unnecessary external command find.
    • Unnecessary external command sed.
    • Unnecessary external command awk.
    • Unnecessary pipes |.