mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2025-08-10 15:27:58 +02:00
In "agnoster" theme, to change the default_user is necessary a prompt_context(){} after it
@ -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
|
||||||
[](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)
|
||||||
|
Reference in New Issue
Block a user