aboutsummaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorDominik Ritter <dritter03@googlemail.com>2015-08-29 18:03:44 +0300
committerDominik Ritter <dritter03@googlemail.com>2015-08-29 18:03:44 +0300
commit602acf3afaea069c9c04668c7c8decb439d30c23 (patch)
tree833328720b43aa7da4e812402d7c06cf8d629a9c /README.md
parentdca00112ad85b1f650015e666f511b1136213a26 (diff)
Added documentation for the ip segment.
Diffstat (limited to 'README.md')
-rw-r--r--README.md10
1 files changed, 10 insertions, 0 deletions
diff --git a/README.md b/README.md
index 19374cbd..b5a02dd0 100644
--- a/README.md
+++ b/README.md
@@ -41,6 +41,7 @@ this theme focus on four primary goals:
- [The AWS Profile Segment](#the-aws-profile-segment)
- [The 'context' Segment](#the-context-segment)
- [The 'dir' segment](#the-dir-segment)
+ - [The 'ip' segment](#the-ip-segment)
- [The 'time' segment](#the-time-segment)
- [Unit Test Ratios](#unit-test-ratios)
- [The 'vcs' Segment](#the-vcs-segment)
@@ -293,6 +294,15 @@ In each case you have to specify the length you want to shorten the directory
to. So in some cases `POWERLEVEL9K_SHORTEN_DIR_LENGTH` means characters, in
others whole directories.
+#### The 'ip' segment
+
+This segment shows you your current internal IP address. It tries to examine
+all currently used network interfaces and prints the first address it finds.
+In the case that this is not the right IP address you can specify the correct
+network interface by setting:
+
+ POWERLEVEL9K_IP_INTERFACE="eth0"
+
#### The 'time' segment
By default the time is show in 'H:M:S' format. If you want to change it,