diff --git a/.all-contributorsrc b/.all-contributorsrc
index 14a2c06..3133027 100644
--- a/.all-contributorsrc
+++ b/.all-contributorsrc
@@ -237,6 +237,15 @@
"code",
"test"
]
+ },
+ {
+ "login": "simoarpe",
+ "name": "Simone Arpe",
+ "avatar_url": "https://avatars3.githubusercontent.com/u/3308503?v=4",
+ "profile": "http://sarpex.com",
+ "contributions": [
+ "code"
+ ]
}
],
"contributorsPerLine": 7
diff --git a/README.md b/README.md
index 8d602f4..fe61807 100644
--- a/README.md
+++ b/README.md
@@ -140,39 +140,11 @@ Thanks goes to these wonderful people ([emoji key](https://github.com/kentcdodds
-
-
+| [
Matan Kushner](https://twitter.com/matchai)
[π](https://github.com/matchai/spacefish/issues?q=author%3Amatchai "Bug reports") [π»](https://github.com/matchai/spacefish/commits?author=matchai "Code") [π](https://github.com/matchai/spacefish/commits?author=matchai "Documentation") [π](#review-matchai "Reviewed Pull Requests") [β οΈ](https://github.com/matchai/spacefish/commits?author=matchai "Tests") [π§](#tool-matchai "Tools") [π¨](#design-matchai "Design") | [
Tiffany Le-Nguyen](https://github.com/sirMerr)
[π](https://github.com/matchai/spacefish/issues?q=author%3AsirMerr "Bug reports") [π»](https://github.com/matchai/spacefish/commits?author=sirMerr "Code") [π](https://github.com/matchai/spacefish/commits?author=sirMerr "Documentation") [π](#review-sirMerr "Reviewed Pull Requests") [β οΈ](https://github.com/matchai/spacefish/commits?author=sirMerr "Tests") | [
Snuggle](https://github.com/Snuggle)
[π](https://github.com/matchai/spacefish/issues?q=author%3ASnuggle "Bug reports") [π»](https://github.com/matchai/spacefish/commits?author=Snuggle "Code") [π](https://github.com/matchai/spacefish/commits?author=Snuggle "Documentation") [π](#review-Snuggle "Reviewed Pull Requests") [β οΈ](https://github.com/matchai/spacefish/commits?author=Snuggle "Tests") | [
Jaskaran Bindra](https://github.com/jskrnbindra)
[π»](https://github.com/matchai/spacefish/commits?author=jskrnbindra "Code") [π](https://github.com/matchai/spacefish/commits?author=jskrnbindra "Documentation") [β οΈ](https://github.com/matchai/spacefish/commits?author=jskrnbindra "Tests") | [
Konstantin Labun](https://labun.me)
[π»](https://github.com/matchai/spacefish/commits?author=kulabun "Code") [π](https://github.com/matchai/spacefish/commits?author=kulabun "Documentation") [β οΈ](https://github.com/matchai/spacefish/commits?author=kulabun "Tests") | [
Kyle Holzinger](https://medium.com/@kyleholzinger)
[π»](https://github.com/matchai/spacefish/commits?author=kyleholzinger "Code") [π](https://github.com/matchai/spacefish/commits?author=kyleholzinger "Documentation") | [
Salmanul Farzy](https://github.com/salmanulfarzy)
[π»](https://github.com/matchai/spacefish/commits?author=salmanulfarzy "Code") [π](#review-salmanulfarzy "Reviewed Pull Requests") |
+| :---: | :---: | :---: | :---: | :---: | :---: | :---: |
+| [
owais](https://owais.lone.pw)
[π»](https://github.com/matchai/spacefish/commits?author=owais "Code") [π](https://github.com/matchai/spacefish/commits?author=owais "Documentation") [β οΈ](https://github.com/matchai/spacefish/commits?author=owais "Tests") | [
Samantha Enders](https://github.com/ladysamantha)
[π»](https://github.com/matchai/spacefish/commits?author=ladysamantha "Code") [π](https://github.com/matchai/spacefish/commits?author=ladysamantha "Documentation") [β οΈ](https://github.com/matchai/spacefish/commits?author=ladysamantha "Tests") | [
Evan Relf](https://evanrelf.com)
[π»](https://github.com/matchai/spacefish/commits?author=evanrelf "Code") [π](https://github.com/matchai/spacefish/commits?author=evanrelf "Documentation") | [
Jason Etcovitch](https://jasonet.co)
[π»](https://github.com/matchai/spacefish/commits?author=JasonEtco "Code") [π](https://github.com/matchai/spacefish/commits?author=JasonEtco "Documentation") | [
hrvoj3e](https://github.com/hrvoj3e)
[π](https://github.com/matchai/spacefish/issues?q=author%3Ahrvoj3e "Bug reports") [π»](https://github.com/matchai/spacefish/commits?author=hrvoj3e "Code") | [
Michael Newman](http://newmaniese.com)
[π](https://github.com/matchai/spacefish/issues?q=author%3Anewmaniese "Bug reports") [π»](https://github.com/matchai/spacefish/commits?author=newmaniese "Code") [π](https://github.com/matchai/spacefish/commits?author=newmaniese "Documentation") [β οΈ](https://github.com/matchai/spacefish/commits?author=newmaniese "Tests") | [
Konrad](https://github.com/k-lyda)
[π](https://github.com/matchai/spacefish/issues?q=author%3Ak-lyda "Bug reports") |
+| [
Will Neville](https://github.com/dubnev)
[π](https://github.com/matchai/spacefish/issues?q=author%3Adubnev "Bug reports") | [
Daniel Trautmann](https://github.com/danieltrautmann)
[π»](https://github.com/matchai/spacefish/commits?author=danieltrautmann "Code") | [
Jonas Γhlander](https://github.com/Menturan)
[π](https://github.com/matchai/spacefish/issues?q=author%3AMenturan "Bug reports") | [
lindsay](https://twitter.com/lynzt)
[π](https://github.com/matchai/spacefish/commits?author=lynzt "Documentation") | [
Brad](http://www.bradcypert.com)
[π»](https://github.com/matchai/spacefish/commits?author=bradcypert "Code") | [
Nam Nguyen](https://github.com/nammn)
[π»](https://github.com/matchai/spacefish/commits?author=nammn "Code") | [
Austin Ziegler](http://www.halostatue.ca/)
[π](#review-halostatue "Reviewed Pull Requests") |
+| [
Konstantinos Koukopoulos](http://kouk.surukle.me)
[π»](https://github.com/matchai/spacefish/commits?author=kouk "Code") [β οΈ](https://github.com/matchai/spacefish/commits?author=kouk "Tests") | [
Simone Arpe](http://sarpex.com)
[π»](https://github.com/matchai/spacefish/commits?author=simoarpe "Code") |
This project follows the [all-contributors](https://github.com/kentcdodds/all-contributors) specification. Contributions of any kind welcome!
diff --git a/functions/__sf_section_docker.fish b/functions/__sf_section_docker.fish
index 6b32d4c..0d11da9 100644
--- a/functions/__sf_section_docker.fish
+++ b/functions/__sf_section_docker.fish
@@ -32,6 +32,18 @@ function __sf_section_docker -d "Display docker version and machine name"
return
end
+ # Check if docker is running
+ if ! docker info >/dev/null 2>&1
+ # docker daemon is not running, don't show the version
+ __sf_lib_section \
+ $SPACEFISH_DOCKER_COLOR \
+ $SPACEFISH_DOCKER_PREFIX \
+ "$SPACEFISH_DOCKER_SYMBOL" \
+ $SPACEFISH_DOCKER_SUFFIX
+ return
+ end
+
+
set -l docker_version (docker version -f "{{.Server.Version}}" 2>/dev/null)
# if docker daemon isn't running you'll get an error like 'Bad response from Docker engine'
[ -z $docker_version ]; and return