summaryrefslogtreecommitdiff
path: root/functions
diff options
context:
space:
mode:
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