summaryrefslogtreecommitdiff
path: root/functions
diff options
context:
space:
mode:
authorNathan Lasseter <nathan@4574.co.uk>2011-05-07 14:19:34 +0100
committerNathan Lasseter <nathan.je.lasseter@googlemail.com>2011-05-07 14:20:15 +0100
commit34726144a9877267f318043c1f8e59c237a6548b (patch)
treecc8f0a765758b11f6a5e92d355d827032abbc196 /functions
parentedd87edfb71dc53c844596ad4750aab22cbb384a (diff)
fixed new prompt
Diffstat (limited to 'functions')
-rw-r--r--functions/fish_prompt.fish2
1 files changed, 1 insertions, 1 deletions
diff --git a/functions/fish_prompt.fish b/functions/fish_prompt.fish
index 9cc8ef7..6c1731f 100644
--- a/functions/fish_prompt.fish
+++ b/functions/fish_prompt.fish
@@ -1,5 +1,5 @@
function fish_prompt
- printf '[%s@%s] ' (echo $USERNAME) (cat /etc/hostname)
+ 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