From b615534d8d67e1891437277fa781196111426f80 Mon Sep 17 00:00:00 2001 From: Fabian Homborg Date: Sun, 16 Aug 2015 22:49:52 +0200 Subject: Fix sorin prompt, remove fallback Closes #2243 --- share/tools/web_config/sample_prompts/sorin.fish | 7 ------- 1 file changed, 7 deletions(-) (limited to 'share/tools') diff --git a/share/tools/web_config/sample_prompts/sorin.fish b/share/tools/web_config/sample_prompts/sorin.fish index 62f19796..cab4b8c5 100644 --- a/share/tools/web_config/sample_prompts/sorin.fish +++ b/share/tools/web_config/sample_prompts/sorin.fish @@ -1,14 +1,7 @@ # name: Sorin # author: Ivan Tham -# If login shell, don't do anything -if status --is-login; and function fish_prompt; echo -n '% '; end; end - function fish_prompt - if not set -q -g __prompt_sorin_functions-defined - set -g __prompt_sorin_functions-defined - end - test $SSH_TTY; and printf (set_color red)(whoami)(set_color white)'@'(set_color yellow)(hostname)' ' test $USER = 'root'; and echo (set_color red)"#" -- cgit v1.2.3