How to change username to just a tilde? #1006
-
|
I'm trying to reduce my username to just a '~'. How do I do this? |
Beta Was this translation helpful? Give feedback.
Answered by
denysdovhan
Jun 11, 2021
Replies: 2 comments
-
|
There's no way to do that at the moment |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
denysdovhan
-
I do have a suggestion for you.Instead of change the username you can do some configs to achieve that. Here is my "SPACESHIP_PROMPT_ORDER" to let you have some ideasSPACESHIP_PROMPT_ORDER=(
char # Prompt character
# user # Username section
dir # Current directory section
host # Hostname section
git # Git section (git_branch + git_status)
hg # Mercurial section (hg_branch + hg_status)
exec_time # Execution time
line_sep # Line break
jobs # Background jobs indicator
exit_code # Exit code section
)
# SPACESHIP_USER_SHOW=always
SPACESHIP_PROMPT_ADD_NEWLINE=false
SPACESHIP_CHAR_SYMBOL="β―"
SPACESHIP_CHAR_SUFFIX="π₯ "And here is the resultAs you can see, the "char" goes first and the value of "SPACESHIP_CHAR_SUFFIX" will be equals to whatever you want. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment

There's no way to do that at the moment