mirror of
https://github.com/oh-my-fish/oh-my-fish.git
synced 2025-02-21 10:46:40 +08:00
Update README.md
This commit is contained in:
parent
27e89495ef
commit
493dc481e6
@ -3,7 +3,7 @@
|
||||
A fish theme with ocean in mind.
|
||||
|
||||
|
||||

|
||||

|
||||
|
||||
|
||||
Unicode-compatible fonts and terminals is required.
|
||||
@ -13,15 +13,14 @@ I would recommend iTerm2 + Solarized Dark for Mac users.
|
||||
This theme is based loosely on [agnoster](https://gist.github.com/agnoster/3712874)
|
||||
|
||||
#### Characteristics
|
||||
* Show a radioactive symbol when gain the root privileges (It's dangerous!)
|
||||
* Show a radioactive symbol (☢) when gain the root privileges (It's dangerous!)
|
||||
* Current python virtualenv (if applicable)
|
||||
* The anchor turn red if the previous command failed
|
||||
* The anchor (⚓) turns red if the previous command failed
|
||||
* Full path of current working directory
|
||||
* Git branch and dirty state (if applicable)
|
||||
* Show User @ Hostname if user is not default\_user
|
||||
to turn on this feature, set these two lines in your config.fish
|
||||
```
|
||||
* Show the Git branch and dirty state (if applicable)
|
||||
* Show **User@Hostname** if user is not the default user. Set the following two lines in your config.fish in your config.fish to turn on this feature:
|
||||
|
||||
```fish
|
||||
set -g theme display_user yes
|
||||
|
||||
set -g default_user your_default_username
|
||||
```
|
||||
|
Loading…
x
Reference in New Issue
Block a user