mirror of
https://github.com/NaomiAmethyst/dots.git
synced 2025-08-19 12:53:52 +00:00
clean up prompt in ksh
This commit is contained in:
parent
0689c9c0ce
commit
43851b816e
1 changed files with 1 additions and 1 deletions
|
@ -2,7 +2,7 @@ if [ -z "${USER}" ] ; then
|
|||
USER=$LOGNAME
|
||||
fi
|
||||
|
||||
if [ $USER ] && [ $USER = root ] ; then
|
||||
if [ -n "${USER}" ] && [ ${USER} = root ] ; then
|
||||
BASE="#"
|
||||
else
|
||||
BASE="$"
|
||||
|
|
Loading…
Add table
Reference in a new issue