From b5cbdc906591c1eafc77a6d555bee6e8f6cbe700 Mon Sep 17 00:00:00 2001 From: Aaron Gyes Date: Mon, 14 Jan 2019 03:23:47 -0800 Subject: [PATCH] fish_config: make clear python 2 or 3 will both work. A person stuck installing it just for fish on their server doesn't want to waste time installing the wrong one, so assuage that. Also tweak to look nicer with 80 columns --- share/functions/fish_config.fish | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/share/functions/fish_config.fish b/share/functions/fish_config.fish index b8fb455d6..d4ef02c9a 100644 --- a/share/functions/fish_config.fish +++ b/share/functions/fish_config.fish @@ -7,10 +7,11 @@ function fish_config --description "Launch fish's web based configuration" else if command -sq python python "$__fish_data_dir/tools/web_config/webconfig.py" $argv else - echo (set_color $fish_color_error)Cannot launch the web configuration tool.(set_color normal) + echo (set_color $fish_color_error)Cannot launch the web configuration tool:(set_color normal) echo (set_color -o)fish_config(set_color normal) requires Python. - echo Installing Python will fix this, and also enable completions to be automatically generated from man pages.\n - echo To configure your prompt, create a (set_color -o)fish_prompt(set_color normal) function. + echo Installing python2 or python3 will fix this, and also enable completions to be + echo automatically generated from man pages.\n + echo To change your prompt, create a (set_color -o)fish_prompt(set_color normal) function. echo There are examples in (set_color $fish_color_valid_path)$__fish_data_dir/tools/web_config/sample_prompts(set_color normal).\n echo You can tweak your colors by setting the (set_color $fish_color_search_match)\$fish_color_\*(set_color normal) variables. end