issues
search
matchai
/
spacefish
🚀🐟 The fish shell prompt for astronauts
https://spacefish.matchai.dev
MIT License
964
stars
79
forks
source link
Implement prompt section for user
#31
Closed
matchai
closed
6 years ago
matchai
commented
6 years ago
Description
Show the name of the user when
$SPACEFISH_USER_SHOW
is set to
always
Show the name of the user in red if the user is root (or UID = 0)
Show the name of the user when ssh'd into the machine
Show the name of the user when
$LOGNAME
!=
$USER
Motivation and Context
Closes #27
Types of changes
[ ] Bug fix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
Screenshots (if appropriate):
How Has This Been Tested?
[x] I have tested using
MacOS
[ ] I have tested using
Linux
Checklist:
[x] I have checked that no other PR duplicates mine
[x] My code follows the code style of this project.
[x] My change requires a change to the documentation.
[x] I have updated the documentation accordingly.
Description
$SPACEFISH_USER_SHOW
is set toalways
$LOGNAME
!=$USER
Motivation and Context
Closes #27
Types of changes
Screenshots (if appropriate):
How Has This Been Tested?
Checklist: