Open ericsonluciano opened 10 years ago
I add this two line in .zshrc
file, and run command source ~/.zshrc
. The username and hostname disappear immediately.
But if I restart my iterm2 or open a new zsh tab, the username and hostname show again.....
Be sure to add these config lines before source $ZSH/oh-my-zsh.sh
in .zshrc
file.
in my .zshrc
, i write as below to hide user and host name.
POWERLINE_HIDE_USER_NAME="true"
POWERLINE_HIDE_HOST_NAME="true"
source $ZSH/oh-my-zsh.sh
I'm not sure if this is my computer setup or it's powerline-themes.
i get 'sharlonbalbalosa@ThousandMinds.local' and i want to hide i also add this two line POWERLINE_HIDE_USER_NAME="true" POWERLINE_HIDE_HOST_NAME="true"