mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2026-05-01 04:30:37 +02:00
Removing the user name and the Host name
As for me and many other developers, without the username and the hostname is much much better and cleaner bash screen, any one can have them back by just uncommenting them by removing the “#” from the begining of the line.
This commit is contained in:
parent
7f9b773350
commit
153a345039
1 changed files with 1 additions and 1 deletions
|
|
@ -80,7 +80,7 @@ prompt_end() {
|
|||
# Context: user@hostname (who am I and where am I)
|
||||
prompt_context() {
|
||||
if [[ "$USER" != "$DEFAULT_USER" || -n "$SSH_CLIENT" ]]; then
|
||||
prompt_segment black default "%(!.%{%F{yellow}%}.)$USER@%m"
|
||||
# prompt_segment black default "%(!.%{%F{yellow}%}.)$USER@%m"
|
||||
fi
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue