Skip to content

This plugin adds short aliases for the git-lfs commands

License

Notifications You must be signed in to change notification settings

nekofar/zsh-git-lfs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 

Repository files navigation

zsh-git-lfs

This plugin adds short aliases for the git-lfs commands.

Usage

Without typing full git-lfs commands in console, like:

git lfs track "*.psd"

there is more convenient alias:

glft "*.psd" 

Installation

zplug

  1. Add the following to your .zshrc:

    zplug "nekofar/zsh-git-lfs"
  2. Start a new terminal session.

Antigen

  1. Add the following to your .zshrc:

    antigen bundle nekofar/zsh-git-lfs
  2. Start a new terminal session.

Oh My Zsh

  1. Clone this repository into $ZSH_CUSTOM/plugins (by default ~/.oh-my-zsh/custom/plugins)

    git clone https://github.com/nekofar/zsh-git-lfs \
      ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-git-lfs
  2. Add the plugin to the list of plugins for Oh My Zsh to load (inside ~/.zshrc):

    plugins=( [plugins...] zsh-git-lfs)
  3. Start a new terminal session.

Requirements

  1. The git-lfs tool has to be installed separately.

About

This plugin adds short aliases for the git-lfs commands

Topics

Resources

License

Stars

Watchers

Forks

Languages