Skip to content

Commit

Permalink
Merge pull request #108 from rgbkrk/here-fishie-fishie
Browse files Browse the repository at this point in the history
Accept the shell argument for fish
  • Loading branch information
carolynvs committed May 9, 2016
2 parents 39753bb + f0818b5 commit f63790d
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion credentials_nix.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,12 @@ func credentialsNextStepsString(clusterName string) string {
}

func getCredentialFilePath(basepath string, shell string) string {
return filepath.Join(basepath, "docker.env")
switch shell {
case "fish":
return filepath.Join(basepath, "docker.fish")
default:
return filepath.Join(basepath, "docker.env")
}
}

func sourceHelpString(credentialFile string, clusterName string, shell string) string {
Expand Down

0 comments on commit f63790d

Please sign in to comment.