From faccacaa8b83f31f7d441b6a0841099d475fb44a Mon Sep 17 00:00:00 2001 From: Joar Wandborg <joar@wandborg.se> Date: Fri, 3 Apr 2015 23:39:08 +0200 Subject: [PATCH] Update fish_prompt.fish --- themes/fisk/fish_prompt.fish | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/themes/fisk/fish_prompt.fish b/themes/fisk/fish_prompt.fish index 5e67c24..cf0112e 100644 --- a/themes/fisk/fish_prompt.fish +++ b/themes/fisk/fish_prompt.fish @@ -45,11 +45,12 @@ function fish_prompt --description 'Write out the prompt' (set_color $base01) $__fish_prompt_hostname \ ) - set -l _context_part (concat \ + # Virtualenv, git, &c. + set -l context_part (concat \ $__fish_prompt_cwd (prompt_pwd) $venv (set_color -o $c_yellow) (__fish_git_prompt) \ ) set -l prompt_end (concat (set_color $base01) 'âžž') - echo -n (concat $ret_part " " $user_part " " $_context_part " " $prompt_end (set_color normal) " ") + echo -n (concat $ret_part " " $user_part " " $context_part " " $prompt_end (set_color normal) " ") end -- GitLab