mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2024-11-29 11:13:39 +01:00
In "agnoster" theme, to change the default_user is necessary a prompt_context(){} after it
parent
d7b2594e79
commit
a3f9905724
@ -33,7 +33,7 @@ Shown with [Solarized Dark colorscheme](http://ethanschoonover.com/solarized) an
|
|||||||
Additional setup:
|
Additional setup:
|
||||||
|
|
||||||
- Install one of the [patched fonts from Vim-Powerline](https://github.com/powerline/fonts) or [patch your own](https://github.com/powerline/fontpatcher) for the special characters.
|
- Install one of the [patched fonts from Vim-Powerline](https://github.com/powerline/fonts) or [patch your own](https://github.com/powerline/fontpatcher) for the special characters.
|
||||||
- *Optionally* set `DEFAULT_USER` in `~/.zshrc` to your regular username to hide the “user@hostname” info when you’re logged in as yourself on your local machine.
|
- *Optionally* set `DEFAULT_USER` to your regular username followed by prompt_context(){} in `~/.zshrc` to hide the “user@hostname” info when you’re logged in as yourself on your local machine.
|
||||||
|
|
||||||
### alanpeabody
|
### alanpeabody
|
||||||
[![alanpeabody](https://cloud.githubusercontent.com/assets/2618447/6316714/5190b8ba-ba00-11e4-8fa9-9f22160be9e4.png)](https://cloud.githubusercontent.com/assets/2618447/6316714/5190b8ba-ba00-11e4-8fa9-9f22160be9e4.png)
|
[![alanpeabody](https://cloud.githubusercontent.com/assets/2618447/6316714/5190b8ba-ba00-11e4-8fa9-9f22160be9e4.png)](https://cloud.githubusercontent.com/assets/2618447/6316714/5190b8ba-ba00-11e4-8fa9-9f22160be9e4.png)
|
||||||
|
Loading…
Reference in New Issue
Block a user