diff options
author | Fabian Homborg <FHomborg@gmail.com> | 2015-08-16 22:49:52 +0200 |
---|---|---|
committer | Fabian Homborg <FHomborg@gmail.com> | 2015-08-16 22:51:49 +0200 |
commit | b615534d8d67e1891437277fa781196111426f80 (patch) | |
tree | f11f78e2d0dd1060822ebed43d4a946855a07738 /share/tools | |
parent | 93d57bd73a885df46f45a1e771a8f9568144fd6a (diff) |
Fix sorin prompt, remove fallback
Closes #2243
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)"#" |