Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/nekofar/zsh-git-lfs
This plugin adds short aliases for the git-lfs commands
https://github.com/nekofar/zsh-git-lfs
aliases git git-lfs zsh zsh-plugin
Last synced: 27 days ago
JSON representation
This plugin adds short aliases for the git-lfs commands
- Host: GitHub
- URL: https://github.com/nekofar/zsh-git-lfs
- Owner: nekofar
- License: mit
- Created: 2020-08-14T11:14:55.000Z (about 4 years ago)
- Default Branch: master
- Last Pushed: 2020-09-23T09:02:00.000Z (about 4 years ago)
- Last Synced: 2024-09-28T07:41:05.699Z (about 1 month ago)
- Topics: aliases, git, git-lfs, zsh, zsh-plugin
- Language: Shell
- Homepage:
- Size: 7.81 KB
- Stars: 3
- Watchers: 3
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# zsh-git-lfs
This plugin adds short aliases for the [`git-lfs`](https://github.com/git-lfs/git-lfs) commands.
## Usage
Without typing full `git-lfs` commands in console, like:
```zsh
git lfs track "*.psd"
```there is more convenient alias:
```zsh
glft "*.psd"
```## Installation
#### zplug
1. Add the following to your `.zshrc`:
```zsh
zplug "nekofar/zsh-git-lfs"
```2. Start a new terminal session.
#### Antigen
1. Add the following to your `.zshrc`:
```zsh
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`)
```zsh
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`):
```zsh
plugins=( [plugins...] zsh-git-lfs)
```3. Start a new terminal session.
## Requirements
1. The git-lfs tool has to be [installed](https://github.com/git-lfs/git-lfs#installing)
separately.