aboutsummaryrefslogtreecommitdiffhomepage
path: root/share/functions/fish_prompt.fish
diff options
context:
space:
mode:
authorGravatar Konrad Borowski <x.fix@o2.pl>2014-07-30 11:55:47 +0200
committerGravatar Konrad Borowski <x.fix@o2.pl>2014-07-30 11:55:47 +0200
commit6c80a3461ce3d9da347a8e3072d3114a08948e58 (patch)
treeb855d54ae4ae7c983e1a07413ac0c34b5cc8abfe /share/functions/fish_prompt.fish
parent5591afff6e8f495a5944450c2802842e8c4e48d9 (diff)
Add support for toor account.
Currently fish doesn't recognize toor as special. However, it's likely that on BSD systems, fish shell will be used on toor, not on root (toor is an intentionally existing account to use more advanced shell on, like shell).
Diffstat (limited to 'share/functions/fish_prompt.fish')
-rw-r--r--share/functions/fish_prompt.fish2
1 files changed, 1 insertions, 1 deletions
diff --git a/share/functions/fish_prompt.fish b/share/functions/fish_prompt.fish
index f4aab344..aaa48c68 100644
--- a/share/functions/fish_prompt.fish
+++ b/share/functions/fish_prompt.fish
@@ -15,7 +15,7 @@ function fish_prompt --description "Write out the prompt"
switch $USER
- case root
+ case root toor
if not set -q __fish_prompt_cwd
if set -q fish_color_cwd_root