From 6ab6c880044a9603afd1ae7f54517d51701eb2b4 Mon Sep 17 00:00:00 2001 From: Bartek Stalewski Date: Fri, 17 Jun 2016 13:55:54 +0200 Subject: [PATCH] Fix for root's prompt. --- fish/prompt_pwd.fish | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fish/prompt_pwd.fish b/fish/prompt_pwd.fish index e08f8bd..ead0964 100644 --- a/fish/prompt_pwd.fish +++ b/fish/prompt_pwd.fish @@ -1,3 +1,3 @@ function prompt_pwd - pwd | sed "s|$HOME|~|" + pwd | sed -e 's|/private||' -e "s|$HOME|~|" end