From 319e7975a48a99dec0e3295cf66523a0149bab89 Mon Sep 17 00:00:00 2001 From: Nathan Lasseter Date: Sat, 14 May 2011 19:03:46 +0100 Subject: Removed git prompt --- functions/fish_prompt.fish | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/functions/fish_prompt.fish b/functions/fish_prompt.fish index 6c1731f..c90cb7b 100644 --- a/functions/fish_prompt.fish +++ b/functions/fish_prompt.fish @@ -1,9 +1,5 @@ function fish_prompt printf '[%s@%s] ' (echo $USER) (cat /etc/hostname) - if test -d .git - printf '%s%s %s(%s)' (set_color red) (pwd) (set_color blue) (git branch | grep "*" | awk -F" " '{print $2}') - else - printf '%s%s' (set_color red) (pwd) - end + printf '%s%s' (set_color red) (pwd) printf '%s>: ' (set_color normal) end -- cgit v1.2.1