Skip to content
This repository was archived by the owner on Feb 27, 2018. It is now read-only.
This repository was archived by the owner on Feb 27, 2018. It is now read-only.

Fish shell support #297

@unbalancedparentheses

Description

@unbalancedparentheses

I am a http://fishshell.com/ user. The shell is awesome but it is on purpose not 100% POSIX compliant. I would be glad to add code to https://github.com/boot2docker/boot2docker-cli/blob/master/cmds.go#L194-L204 so that it prints how to export the variables in fish.

The equivalent of

export DOCKER_HOST=tcp://192.168.59.103:2376
export DOCKER_CERT_PATH=/Users/unbalancedparentheses/.boot2docker/certs/boot2docker-vm
export DOCKER_TLS_VERIFY=1

In fish would be

set -x DOCKER_HOST=tcp://192.168.59.103:2376
set -x DOCKER_CERT_PATH=/Users/unbalancedparentheses/.boot2docker/certs/boot2docker-vm
set -x DOCKER_TLS_VERIFY=1

I could also detect if the user is using fish with basename $SHELL and print the correct way to export the variables.

Let me know what you think so that I code it.

Thanks in advance!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions