From c22475c33d89feb085386d3b29c06ec6a49f7662 Mon Sep 17 00:00:00 2001 From: Olivier CANO Date: Mon, 10 Feb 2020 18:39:58 +0100 Subject: [PATCH] feat(autocomplete): support linux --- internal/namespaces/autocomplete/autocomplete.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/internal/namespaces/autocomplete/autocomplete.go b/internal/namespaces/autocomplete/autocomplete.go index a9ba4ffffb..90329ef13f 100644 --- a/internal/namespaces/autocomplete/autocomplete.go +++ b/internal/namespaces/autocomplete/autocomplete.go @@ -64,6 +64,7 @@ var autocompleteScripts = map[string]autocompleteScript{ CompleteScript: `eval "$(scw autocomplete script shell=bash)"`, ShellConfigurationFile: map[string]string{ "darwin": path.Join(os.Getenv("HOME"), ".bash_profile"), + "linux": path.Join(os.Getenv("HOME"), ".bashrc"), }, }, "fish": { @@ -87,6 +88,7 @@ var autocompleteScripts = map[string]autocompleteScript{ CompleteScript: `eval (scw autocomplete script shell=fish)`, ShellConfigurationFile: map[string]string{ "darwin": path.Join(os.Getenv("HOME"), ".config/fish/config.fish"), + "linux": path.Join(os.Getenv("HOME"), ".config/fish/config.fish"), }, }, "zsh": { @@ -123,6 +125,7 @@ var autocompleteScripts = map[string]autocompleteScript{ CompleteScript: `eval "$(scw autocomplete script shell=zsh)"`, ShellConfigurationFile: map[string]string{ "darwin": path.Join(os.Getenv("HOME"), ".zshrc"), + "linux": path.Join(os.Getenv("HOME"), ".zshrc"), }, }, }