From 38fcb0cf44369115fdadd68288fb6f180e5a898e Mon Sep 17 00:00:00 2001 From: Adriano Bonat Date: Wed, 8 Aug 2012 23:32:45 -0300 Subject: [PATCH] using prompt_pwd instead of $PWD to show home as ~. --- themes/robbyrussell/fish_prompt.fish | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/themes/robbyrussell/fish_prompt.fish b/themes/robbyrussell/fish_prompt.fish index 2d0832b..10c28ea 100644 --- a/themes/robbyrussell/fish_prompt.fish +++ b/themes/robbyrussell/fish_prompt.fish @@ -6,7 +6,7 @@ function fish_prompt set -l normal (set_color normal) set -l arrow "$red➜ " - set -l cwd $cyan(basename $PWD) + set -l cwd $cyan(basename (prompt_pwd)) if [ (git_branch_name) ] set -l git_branch $red(git_branch_name)