Skip to content
This repository was archived by the owner on Feb 3, 2021. It is now read-only.
This repository was 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

@liweiwh

Description

@liweiwh

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions