Commit d92dd169 authored by Lilo's avatar Lilo Committed by Bruno Pinto

set UID before use, or it will be null

parent 43a78393
......@@ -43,6 +43,7 @@ function fish_prompt
# Prompt
set -l prompt
set -l UID (id -u $USER)
if [ "$UID" = "0" ]
set prompt "$red# "
else
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment