1
1
<p align =" center " >
2
2
<a href =" #gh-dark-mode-only " target =" _blank " rel =" noopener noreferrer " >
3
- <img src=".github/assets/night.svg" alt="git-extra-profiles .plugin.zsh">
3
+ <img src=".github/assets/night.svg" alt="gitprofiles .plugin.zsh">
4
4
</a >
5
5
6
6
<a href =" #gh-light-mode-only " target =" _blank " rel =" noopener noreferrer " >
7
- <img src=".github/assets/day.svg" alt="git-extra-profiles .plugin.zsh">
7
+ <img src=".github/assets/day.svg" alt="gitprofiles .plugin.zsh">
8
8
</a >
9
9
</p >
10
10
@@ -14,53 +14,52 @@ Plugin for managing multiple `git` profiles.
14
14
15
15
## Installation
16
16
17
- ### Using [ oh-my-zsh] ( https://github.com/ohmyzsh/ohmyzsh )
17
+ #### [ oh-my-zsh] ( https://github.com/ohmyzsh/ohmyzsh )
18
18
19
- ``` sh
20
- git clone https://github.com/baliestri/git-profiles .plugin.zsh.git $ZSH_CUSTOM /plugins/git-profiles
19
+ ``` shell
20
+ git clone https://github.com/empresslabs/gitprofiles .plugin.zsh.git $ZSH_CUSTOM /plugins/gitprofiles
21
21
```
22
22
23
- Then add ` git-profiles ` to the plugins array in your zshrc file:
24
-
25
- ``` sh
26
- plugins=(... git-profiles)
23
+ ``` shell
24
+ ~ /.zshrc
25
+ plugins=(... gitprofiles)
27
26
```
28
27
29
- ### Using [ zplug ] ( https://github.com/zplug/zplug )
28
+ #### [ zinit ] ( https://github.com/zdharma-continuum/zinit )
30
29
31
- ``` sh
32
- zplug " baliestri/git-profiles .plugin.zsh"
30
+ ``` shell
31
+ zinit light empresslabs/gitprofiles .plugin.zsh
33
32
```
34
33
35
- ### Using [ zinit ] ( https://github.com/zdharma-continuum/zinit )
34
+ #### [ zi ] ( https://github.com/z-shell/zi )
36
35
37
- ``` sh
38
- zinit light baliestri/git-profiles .plugin.zsh
36
+ ``` shell
37
+ zi light empresslabs/gitprofiles .plugin.zsh
39
38
```
40
39
41
- ### Using [ zgenom] ( https://github.com/jandamm/zgenom )
40
+ #### [ zgenom] ( https://github.com/jandamm/zgenom )
42
41
43
- ``` sh
44
- zgenom load baliestri/git-profiles .plugin.zsh
42
+ ``` shell
43
+ zgenom load empresslabs/gitprofiles .plugin.zsh
45
44
```
46
45
47
- ### Using [ zi ] ( https://github.com/z-shell/zi )
46
+ #### [ zplug ] ( https://github.com/zplug/zplug )
48
47
49
- ``` sh
50
- zi light baliestri/git-profiles .plugin.zsh
48
+ ``` shell
49
+ zplug empresslabs/gitprofiles .plugin.zsh
51
50
```
52
51
53
52
## Usage
54
53
55
- ### Define where your profiles are stored
54
+ #### Define where your profiles are stored
56
55
57
56
``` sh
58
57
# ~/.zshrc
59
58
60
- export GIT_PROFILES_FILE= " $HOME /.config/ git/ profiles" # Fallback to $HOME/.git- profiles
59
+ zstyle " :empresslabs: git: profiles" path " $HOME /.config/ git/ profiles"
61
60
```
62
61
63
- ### Add a new profile
62
+ #### Add a new profile
64
63
65
64
``` sh
66
65
# ~/.config/git/profiles
0 commit comments