This plugin adds short aliases for the git-lfs commands.
Without typing full git-lfs commands in console, like:
git lfs track "*.psd"there is more convenient alias:
glft "*.psd" -
Add the following to your
.zshrc:zplug "nekofar/zsh-git-lfs" -
Start a new terminal session.
-
Add the following to your
.zshrc:antigen bundle nekofar/zsh-git-lfs
-
Start a new terminal session.
-
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 -
Add the plugin to the list of plugins for Oh My Zsh to load (inside
~/.zshrc):plugins=( [plugins...] zsh-git-lfs)
-
Start a new terminal session.
- The git-lfs tool has to be installed separately.