honukai-iterm-zsh icon indicating copy to clipboard operation
honukai-iterm-zsh copied to clipboard

Hide username and computer in bar

Open darrenhaken opened this issue 8 years ago • 1 comments

Does the theme allow me to hide my default username?

Other themes honour it but this doesn't seem to.

darrenhaken avatar Sep 12 '17 08:09 darrenhaken

Of course u can.

Run the following commands:

cd ~/.oh-my-zsh/themes

and then, find honukai.zsh-theme

vi honukai.zsh-theme

# Prompt format: \n # USER at MACHINE in DIRECTORY on git:BRANCH STATE [TIME] \n $
PROMPT="
%{$terminfo[bold]$fg[blue]%}#%{$reset_color%} \
%{$fg[cyan]%}%n \
%{$fg[white]%}at \
%{$fg[green]%}$(box_name) \
%{$fg[white]%}in \
%{$terminfo[bold]$fg[yellow]%}${current_dir}%{$reset_color%}\
${hg_info}\
${git_info} \
%{$fg[white]%}[%*]
%{$terminfo[bold]$fg[red]%}→ %{$reset_color%}"

and you can delete info lines like %{$fg[white]%}at \ and %{$fg[green]%}$(box_name) \

@oskarkrawczyk

maoxiaoke avatar Jun 11 '18 09:06 maoxiaoke