Skip to content

Commit 331c1bd

Browse files
committed
update README, gif might still want to be updated.
1 parent 1e36865 commit 331c1bd

File tree

1 file changed

+21
-1
lines changed

1 file changed

+21
-1
lines changed

README.md

Lines changed: 21 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,14 @@ zgenom load empresslabs/gitprofiles.plugin.zsh
4949
zplug empresslabs/gitprofiles.plugin.zsh
5050
```
5151

52+
#### [antibody](https://github.com/getantibody/antibody)
53+
54+
Add the following to your .zsh_plugins.txt file for antibody:
55+
56+
```shell
57+
empresslabs/gitprofiles.plugin.zsh
58+
```
59+
5260
## Usage
5361

5462
#### Define where your profiles are stored
@@ -73,5 +81,17 @@ zstyle ":empresslabs:git:profile" path "$HOME/.config/git/profiles"
7381
name = Bruno Sales
7482
7583
# signingkey = 1234567890
76-
path = "/home/baliestri/work"
84+
paths = "/home/baliestri/work"
85+
86+
[profile "personal"]
87+
name = Bruno Sales
88+
89+
# signingkey = 1234567890
90+
paths = "~/personal",
91+
"~/src/personal/*",
92+
"~/src/mytopsecretproject"
7793
```
94+
95+
Multiple paths can be defined for a profile, separated by either newline or commas. The paths are processed in the order they are defined, with exact matches taking precedence over wild card matches. Tildes are expanded to ${HOME}.
96+
97+
It is possible to get debug information by setting the `GP_DEBUG` environment variable to any value within your current session.

0 commit comments

Comments
 (0)