You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -36,57 +36,6 @@ This collection doesn't actually require ZSH, but packaging it as a ZSH plugin m
36
36
37
37
If you wrote one of these scripts and want it removed from this collection, please either make a PR and/or file an issue against the repo and I will remove it.
38
38
39
-
## Installing
40
-
41
-
### Pre-requisites
42
-
43
-
* A relatively recent version of `git`. The version of `git` Apple includes in macOS is very stale. You should really `brew install git` to get the current version if you're on macOS - if not for features, for security updates.
44
-
* Python 3+
45
-
* Ruby 2.2+
46
-
47
-
### Antigen
48
-
49
-
If you're using [Antigen](https://github.com/zsh-users/antigen):
50
-
51
-
1. Add `antigen bundle unixorn/git-extra-commands` to your `.zshrc` where you've listed your other plugins.
52
-
2. Close and reopen your Terminal/iTerm window to **refresh context** and use the plugin. Alternatively, you can run `antigen bundle unixorn/git-extra-commands` in a running shell to have `antigen` load the new plugin.
53
-
54
-
### oh-my-zsh
55
-
56
-
If you're using [oh-my-zsh](github.com/robbyrussell/oh-my-zsh):
57
-
58
-
1. In the command line, change to _oh-my-zsh_'s custom plugin directory :
59
-
60
-
`cd ~/.oh-my-zsh/custom/plugins/`
61
-
62
-
2. Clone the repository into a new `git-extra-commands` directory:
3. Edit your `~/.zshrc` and add `git-extra-commands` – same as clone directory – to the list of plugins to enable:
67
-
68
-
`plugins=( ... git-extra-commands )`
69
-
70
-
4. Then, restart your terminal application to **refresh context** and use the plugin. Alternatively, you can source your current shell configuration:
71
-
72
-
`source ~/.zshrc`
73
-
74
-
### zgen
75
-
76
-
If you're using [zgen](https://github.com/tarjoilija/zgen):
77
-
78
-
1. Add `zgen load unixorn/git-extra-commands` to your `.zshrc` along with your other `zgen load` commands.
79
-
2.`zgen reset && zgen save`
80
-
81
-
### Bash / Manual Installation
82
-
83
-
Nothing here actually requires you to use ZSH or zgen, that's just a convenient distribution method for anyone using a ZSH framework.
84
-
85
-
If you aren't using any ZSH frameworks, or if you're a `bash` user, do the following steps:
86
-
87
-
1.`git clone` this repository
88
-
2. Add `cloneDirectory/bin` to your `$PATH`.
89
-
90
39
## Included Scripts
91
40
92
41
| Script | Original Source | Description |
@@ -187,6 +136,57 @@ Here are some helpful aliases for your `~/.gitconfig`
187
136
|`unpushed = log @{u}..`| Show which commits have not been pushed to the tracking branch and are safe to amend/rebase. |
188
137
|`work-in-progress = rebase -i @{u}`| Starts an interactive rebase of all the commits you haven't pushed yet. Handy for collapsing a bunch of work-in-progress snapshots into logical commits before pushing, without having to worry about accidentally squashing a commit someone else has already referred to. |
189
138
139
+
## Installing
140
+
141
+
### Pre-requisites
142
+
143
+
* A relatively recent version of `git`. The version of `git` Apple includes in macOS is very stale. You should really `brew install git` to get the current version if you're on macOS - if not for features, for security updates.
144
+
* Python 3+
145
+
* Ruby 2.2+
146
+
147
+
### Antigen
148
+
149
+
If you're using [Antigen](https://github.com/zsh-users/antigen):
150
+
151
+
1. Add `antigen bundle unixorn/git-extra-commands` to your `.zshrc` where you've listed your other plugins.
152
+
2. Close and reopen your Terminal/iTerm window to **refresh context** and use the plugin. Alternatively, you can run `antigen bundle unixorn/git-extra-commands` in a running shell to have `antigen` load the new plugin.
153
+
154
+
### oh-my-zsh
155
+
156
+
If you're using [oh-my-zsh](github.com/robbyrussell/oh-my-zsh):
157
+
158
+
1. In the command line, change to _oh-my-zsh_'s custom plugin directory :
159
+
160
+
`cd ~/.oh-my-zsh/custom/plugins/`
161
+
162
+
2. Clone the repository into a new `git-extra-commands` directory:
0 commit comments