summaryrefslogtreecommitdiff
path: root/functions
diff options
context:
space:
mode:
authorNathan Lasseter <nathan.je.lasseter@googlemail.com>2011-05-14 19:03:46 +0100
committerNathan Lasseter <nathan.je.lasseter@googlemail.com>2011-05-14 19:03:46 +0100
commit319e7975a48a99dec0e3295cf66523a0149bab89 (patch)
tree1d41f09bb6e04c958df710d7b2830ec20dde5a64 /functions
parent34726144a9877267f318043c1f8e59c237a6548b (diff)
Removed git prompt
Diffstat (limited to 'functions')
-rw-r--r--functions/fish_prompt.fish6
1 files changed, 1 insertions, 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