diff options
Diffstat (limited to 'share/tools')
-rw-r--r-- | share/tools/web_config/sample_prompts/sorin.fish | 7 |
1 files changed, 0 insertions, 7 deletions
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 <ivanthamjunhoe@gmail.com> -# 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)"#" |