Skip to content

Commit eace770

Browse files
committed
chore: update README.md
1 parent bcfaa10 commit eace770

File tree

1 file changed

+23
-24
lines changed

1 file changed

+23
-24
lines changed

README.md

Lines changed: 23 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
<p align="center">
22
<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">
44
</a>
55

66
<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">
88
</a>
99
</p>
1010

@@ -14,53 +14,52 @@ Plugin for managing multiple `git` profiles.
1414

1515
## Installation
1616

17-
### Using [oh-my-zsh](https://github.com/ohmyzsh/ohmyzsh)
17+
#### [oh-my-zsh](https://github.com/ohmyzsh/ohmyzsh)
1818

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
2121
```
2222

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)
2726
```
2827

29-
### Using [zplug](https://github.com/zplug/zplug)
28+
#### [zinit](https://github.com/zdharma-continuum/zinit)
3029

31-
```sh
32-
zplug "baliestri/git-profiles.plugin.zsh"
30+
```shell
31+
zinit light empresslabs/gitprofiles.plugin.zsh
3332
```
3433

35-
### Using [zinit](https://github.com/zdharma-continuum/zinit)
34+
#### [zi](https://github.com/z-shell/zi)
3635

37-
```sh
38-
zinit light baliestri/git-profiles.plugin.zsh
36+
```shell
37+
zi light empresslabs/gitprofiles.plugin.zsh
3938
```
4039

41-
### Using [zgenom](https://github.com/jandamm/zgenom)
40+
#### [zgenom](https://github.com/jandamm/zgenom)
4241

43-
```sh
44-
zgenom load baliestri/git-profiles.plugin.zsh
42+
```shell
43+
zgenom load empresslabs/gitprofiles.plugin.zsh
4544
```
4645

47-
### Using [zi](https://github.com/z-shell/zi)
46+
#### [zplug](https://github.com/zplug/zplug)
4847

49-
```sh
50-
zi light baliestri/git-profiles.plugin.zsh
48+
```shell
49+
zplug empresslabs/gitprofiles.plugin.zsh
5150
```
5251

5352
## Usage
5453

55-
### Define where your profiles are stored
54+
#### Define where your profiles are stored
5655

5756
```sh
5857
# ~/.zshrc
5958

60-
export GIT_PROFILES_FILE="$HOME/.config/git/profiles" # Fallback to $HOME/.git-profiles
59+
zstyle ":empresslabs:git:profiles" path "$HOME/.config/git/profiles"
6160
```
6261

63-
### Add a new profile
62+
#### Add a new profile
6463

6564
```sh
6665
# ~/.config/git/profiles

0 commit comments

Comments
 (0)