Skip to content

Commit 54d5782

Browse files
committed
Update to current omf plugin template
1 parent f34c511 commit 54d5782

File tree

4 files changed

+70
-68
lines changed

4 files changed

+70
-68
lines changed

LICENSE

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
The MIT License (MIT)
22

3-
Copyright (c) 2015 {{USER}}
3+
Copyright (c) 2015 James Hillyerd
44

55
Permission is hereby granted, free of charge, to any person obtaining a copy
66
of this software and associated documentation files (the "Software"), to deal

README.md

+4-3
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,9 @@
55
[Oh My Zsh Git Plugin][omz-git-plugin].
66

77
[![MIT License](https://img.shields.io/badge/license-MIT-007EC7.svg?style=flat-square)](/LICENSE)
8-
[![Fish Shell Version](https://img.shields.io/badge/fish-v2.2.0-007EC7.svg?style=flat-square)](http://fishshell.com)
8+
[![Fish Shell Version](https://img.shields.io/badge/fish-v2.2.0-007EC7.svg?style=flat-square)](https://fishshell.com)
99
[![Oh My Fish Framework](https://img.shields.io/badge/Oh%20My%20Fish-Framework-007EC7.svg?style=flat-square)](https://www.github.com/oh-my-fish/oh-my-fish)
10+
1011
<br/>
1112

1213
## Install
@@ -85,8 +86,8 @@ $ omf install https://github.com/jhillyerd/plugin-git
8586
[MIT][mit] © [James Hillyerd][author] et [al][contributors]
8687

8788

88-
[mit]: http://opensource.org/licenses/MIT
89-
[author]: http://github.com/jhillyerd
89+
[mit]: https://opensource.org/licenses/MIT
90+
[author]: https://github.com/jhillyerd
9091
[contributors]: https://github.com/jhillyerd/plugin-git/graphs/contributors
9192
[omf-link]: https://www.github.com/oh-my-fish/oh-my-fish
9293

init.fish

+65-61
Original file line numberDiff line numberDiff line change
@@ -1,62 +1,66 @@
1-
function init -a path --on-event init_git
2-
# git abbreviations
3-
abbr -a g git
4-
abbr -a ga git add
5-
abbr -a gaa git add --all
6-
abbr -a gapa git add --patch
7-
abbr -a gba git branch -a -v
8-
abbr -a gb git branch
9-
abbr -a gc git commit -v
10-
abbr -a gc! git commit -v --amend
11-
abbr -a gca git commit -v -a
12-
abbr -a gca! git commit -v -a --amend
13-
abbr -a gcmsg git commit -m
14-
abbr -a gco git checkout
15-
abbr -a gcount git shortlog -sn
16-
abbr -a gcp git cherry-pick
17-
abbr -a gd git diff
18-
abbr -a gdca git diff --cached
19-
abbr -a gff git flow feature
20-
abbr -a gfr git flow release
21-
abbr -a gfh git flow hotfix
22-
abbr -a gfs git flow support
23-
abbr -a gignore git update-index --assume-unchanged
24-
abbr -a gk gitk --all --branches
25-
abbr -a gf git fetch
26-
abbr -a gfa git fetch --all --prune
27-
abbr -a gfo git fetch origin
28-
abbr -a gl git pull
29-
abbr -a glg git log --stat --max-count=10
30-
abbr -a glgg git log --graph --max-count=10
31-
abbr -a glgga git log --graph --decorate --all
32-
abbr -a glo git log --oneline --decorate --color
33-
abbr -a glog git log --oneline --decorate --color --graph
34-
abbr -a gm git merge
35-
abbr -a gmt git mergetool --no-prompt
36-
abbr -a gp git push
37-
abbr -a gr git remote
38-
abbr -a grba git rebase --abort
39-
abbr -a grbc git rebase --continue
40-
abbr -a grbi git rebase --interactive
41-
abbr -a grbm git rebase master
42-
abbr -a grbs git rebase --skip
43-
abbr -a grh git reset HEAD
44-
abbr -a grhh git reset HEAD --hard
45-
abbr -a grmv git remote rename
46-
abbr -a grrm git remote remove
47-
abbr -a grset git remote set-url
48-
abbr -a grup git remote update
49-
abbr -a grv git remote -v
50-
abbr -a gsd git svn dcommit
51-
abbr -a gsr git svn rebase
52-
abbr -a gss git status -s
53-
abbr -a gst git status
54-
abbr -a gsta git stash
55-
abbr -a gstd git stash drop
56-
abbr -a gstp git stash pop
57-
abbr -a gsts git stash show --text
58-
abbr -a gunignore git update-index --no-assume-unchanged
59-
abbr -a gup git pull --rebase
60-
abbr -a gwch git whatchanged -p --abbrev-commit --pretty=medium
61-
end
1+
# git initialization hook
2+
#
3+
# You can use the following variables in this file:
4+
# * $package package name
5+
# * $path package path
6+
# * $dependencies package dependencies
627

8+
# git abbreviations
9+
abbr -a g git
10+
abbr -a ga git add
11+
abbr -a gaa git add --all
12+
abbr -a gapa git add --patch
13+
abbr -a gba git branch -a -v
14+
abbr -a gb git branch
15+
abbr -a gc git commit -v
16+
abbr -a gc! git commit -v --amend
17+
abbr -a gca git commit -v -a
18+
abbr -a gca! git commit -v -a --amend
19+
abbr -a gcmsg git commit -m
20+
abbr -a gco git checkout
21+
abbr -a gcount git shortlog -sn
22+
abbr -a gcp git cherry-pick
23+
abbr -a gd git diff
24+
abbr -a gdca git diff --cached
25+
abbr -a gff git flow feature
26+
abbr -a gfr git flow release
27+
abbr -a gfh git flow hotfix
28+
abbr -a gfs git flow support
29+
abbr -a gignore git update-index --assume-unchanged
30+
abbr -a gk gitk --all --branches
31+
abbr -a gf git fetch
32+
abbr -a gfa git fetch --all --prune
33+
abbr -a gfo git fetch origin
34+
abbr -a gl git pull
35+
abbr -a glg git log --stat --max-count=10
36+
abbr -a glgg git log --graph --max-count=10
37+
abbr -a glgga git log --graph --decorate --all
38+
abbr -a glo git log --oneline --decorate --color
39+
abbr -a glog git log --oneline --decorate --color --graph
40+
abbr -a gm git merge
41+
abbr -a gmt git mergetool --no-prompt
42+
abbr -a gp git push
43+
abbr -a gr git remote
44+
abbr -a grba git rebase --abort
45+
abbr -a grbc git rebase --continue
46+
abbr -a grbi git rebase --interactive
47+
abbr -a grbm git rebase master
48+
abbr -a grbs git rebase --skip
49+
abbr -a grh git reset HEAD
50+
abbr -a grhh git reset HEAD --hard
51+
abbr -a grmv git remote rename
52+
abbr -a grrm git remote remove
53+
abbr -a grset git remote set-url
54+
abbr -a grup git remote update
55+
abbr -a grv git remote -v
56+
abbr -a gsd git svn dcommit
57+
abbr -a gsr git svn rebase
58+
abbr -a gss git status -s
59+
abbr -a gst git status
60+
abbr -a gsta git stash
61+
abbr -a gstd git stash drop
62+
abbr -a gstp git stash pop
63+
abbr -a gsts git stash show --text
64+
abbr -a gunignore git update-index --no-assume-unchanged
65+
abbr -a gup git pull --rebase
66+
abbr -a gwch git whatchanged -p --abbrev-commit --pretty=medium

uninstall.fish

-3
This file was deleted.

0 commit comments

Comments
 (0)