summaryrefslogtreecommitdiff
path: root/functions/fish_prompt.fish
diff options
context:
space:
mode:
Diffstat (limited to 'functions/fish_prompt.fish')
-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