diff --git a/.doc/badge-github.json b/.doc/badge-github.json new file mode 100644 index 0000000..9ee0672 --- /dev/null +++ b/.doc/badge-github.json @@ -0,0 +1,6 @@ +{ + "schemaVersion":1, + "label":"github", + "message":"mirror", + "cacheSeconds":1800 +} \ No newline at end of file diff --git a/.doc/badge-gitlab.json b/.doc/badge-gitlab.json new file mode 100644 index 0000000..047d40b --- /dev/null +++ b/.doc/badge-gitlab.json @@ -0,0 +1,7 @@ +{ + "schemaVersion":1, + "label":"gitlab", + "message":"main", + "color":"green", + "cacheSeconds":1800 +} \ No newline at end of file diff --git a/README.md b/README.md index 46257ac..292acd7 100644 --- a/README.md +++ b/README.md @@ -4,6 +4,8 @@ Utility functions to start your ssh agent when using fish shell. You will only need to run `ssh-add` and type your password once, after the running ssh_agent should do the work for you. +![GitLab](https://img.shields.io/badge/dynamic/json.svg?logo=GitLab&style=for-the-badge&label=GitLab&url=https://gitlab.com/kyb/fish_ssh_agent/raw/master/.doc/badge-gitlab.json&query=$.message) +![GitHub](https://img.shields.io/badge/dynamic/json.svg?logo=GitHub&style=for-the-badge&label=GitHub&url=https://gitlab.com/kyb/fish_ssh_agent/raw/master/.doc/badge-github.json&query=$.message&color=9A9) ## Usage