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
Matan Kushner

πŸ› πŸ’» πŸ“– πŸ‘€ ⚠️ πŸ”§ 🎨
Tiffany Le-Nguyen
Tiffany Le-Nguyen

πŸ› πŸ’» πŸ“– πŸ‘€ ⚠️
Snuggle
Snuggle

πŸ› πŸ’» πŸ“– πŸ‘€ ⚠️
Jaskaran Bindra
Jaskaran Bindra

πŸ’» πŸ“– ⚠️
Konstantin Labun
Konstantin Labun

πŸ’» πŸ“– ⚠️
Kyle Holzinger
Kyle Holzinger

πŸ’» πŸ“–
Salmanul Farzy
Salmanul Farzy

πŸ’» πŸ‘€
owais
owais

πŸ’» πŸ“– ⚠️
Samantha Enders
Samantha Enders

πŸ’» πŸ“– ⚠️
Evan Relf
Evan Relf

πŸ’» πŸ“–
Jason Etcovitch
Jason Etcovitch

πŸ’» πŸ“–
hrvoj3e
hrvoj3e

πŸ› πŸ’»
Michael Newman
Michael Newman

πŸ› πŸ’» πŸ“– ⚠️
Konrad
Konrad

πŸ›
Will Neville
Will Neville

πŸ›
Daniel Trautmann
Daniel Trautmann

πŸ’»
Jonas Γ–hlander
Jonas Γ–hlander

πŸ›
lindsay
lindsay

πŸ“–
Brad
Brad

πŸ’»
Nam Nguyen
Nam Nguyen

πŸ’»
Austin Ziegler
Austin Ziegler

πŸ‘€
Konstantinos Koukopoulos
Konstantinos Koukopoulos

πŸ’» ⚠️
- +| [
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