Skip to content
This repository has been archived by the owner on Feb 3, 2021. It is now read-only.

How to add docker running state check before docker version show? #221

Open
liweiwh opened this issue Oct 28, 2020 · 0 comments · May be fixed by #222
Open

How to add docker running state check before docker version show? #221

liweiwh opened this issue Oct 28, 2020 · 0 comments · May be fixed by #222

Comments

@liweiwh
Copy link

liweiwh commented Oct 28, 2020

Bug Report

Current Behavior
A clear and concise description of the behavior.

[: unexpected argument at index 2: error shows when open shell in a docker project. (Like attachment)

Expected Behavior
A clear and concise description of what you expected to happen.

how to add docker running state check in ~/.config/fish/functions/__sf_section_docker.fish before show docker version ?

image

Relevant Fish Configuration

# Your configuration here

Default

Environment

  • Spacefish version: 2.7.0
  • Fish version: 3.1.2
  • Fish plugin manager: fisher
  • Terminal emulator: ITerm2
  • Operating system: Latest MacOS

Possible Solution

Hide Docker version.

set SPACEFISH_DOCKER_SHOW false

To Global Variables.

Additional context/Screenshots
Add any other context about the problem here. If applicable, add screenshots to help explain.

image

@simoarpe simoarpe linked a pull request Oct 28, 2020 that will close this issue
10 tasks
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant