Merge pull request #1147 from willprice/master

Improve documentation on prompt options for powerline themes
pull/1153/head
Nils Winkler 2018-02-20 08:33:33 +01:00 committed by GitHub
commit c3d9c46ef8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 55 additions and 35 deletions

View File

@ -46,14 +46,19 @@ The time/date is printed by the `date` command, so refer to its man page to chan
The contents of both prompt sides can be "reordered", all the "segments" (every piece of information) can take any place. The currently available segments are: The contents of both prompt sides can be "reordered", all the "segments" (every piece of information) can take any place. The currently available segments are:
* battery * `battery` - Battery information (you'll need to enable the `battery` plugin)
* clock * `clock` - Current time in `HH:MM:SS` format
* cwd * `cwd` - Current working directory including full folder hierarchy (c.f. `wd`)
* in_vim * `hostname` - Host name of machine
* python_venv * `in_vim` - Show identifier if running in `:terminal` from vim
* ruby * `last_status` - Exit status of last run command
* scm * `python_venv` - Python virtual environment information (`virtualenv`, `venv`
* user_info and `conda` supported)
* `ruby` - Current ruby version if using `rvm`
* `scm` - Version control information, `git`
* `user_info` - Current user
* `wd` - Working directory, like `cwd` but doesn't show the full folder
hierarchy, only the directory you're currently in.
Two variables can be defined to set the order of the prompt segments: Two variables can be defined to set the order of the prompt segments:

View File

@ -42,16 +42,21 @@ The time/date is printed by the `date` command, so refer to its man page to chan
The contents of the prompt can be "reordered", all the "segments" (every piece of information) can take any place. The currently available segments are: The contents of the prompt can be "reordered", all the "segments" (every piece of information) can take any place. The currently available segments are:
* battery * `battery` - Battery information (you'll need to enable the `battery` plugin)
* clock * `clock` - Current time in `HH:MM:SS` format
* cwd * `cwd` - Current working directory including full folder hierarchy (c.f. `wd`)
* in_vim * `hostname` - Host name of machine
* python_venv * `in_vim` - Show identifier if running in `:terminal` from vim
* ruby * `last_status` - Exit status of last run command
* scm * `python_venv` - Python virtual environment information (`virtualenv`, `venv`
* user_info and `conda` supported)
* `ruby` - Current ruby version if using `rvm`
* `scm` - Version control information, `git`
* `user_info` - Current user
* `wd` - Working directory, like `cwd` but doesn't show the full folder
hierarchy, only the directory you're currently in.
A variables can be defined to set the order of the prompt segments: A variable can be defined to set the order of the prompt segments:
POWERLINE_PROMPT="user_info scm python_venv ruby cwd" POWERLINE_PROMPT="user_info scm python_venv ruby cwd"

View File

@ -40,16 +40,21 @@ The time/date is printed by the `date` command, so refer to its man page to chan
The contents of the prompt can be "reordered", all the "segments" (every piece of information) can take any place. The currently available segments are: The contents of the prompt can be "reordered", all the "segments" (every piece of information) can take any place. The currently available segments are:
* battery * `battery` - Battery information (you'll need to enable the `battery` plugin)
* clock * `clock` - Current time in `HH:MM:SS` format
* cwd * `cwd` - Current working directory including full folder hierarchy (c.f. `wd`)
* in_vim * `hostname` - Host name of machine
* python_venv * `in_vim` - Show identifier if running in `:terminal` from vim
* ruby * `last_status` - Exit status of last run command
* scm * `python_venv` - Python virtual environment information (`virtualenv`, `venv`
* user_info and `conda` supported)
* `ruby` - Current ruby version if using `rvm`
* `scm` - Version control information, `git`
* `user_info` - Current user
* `wd` - Working directory, like `cwd` but doesn't show the full folder
hierarchy, only the directory you're currently in.
A variables can be defined to set the order of the prompt segments: A variable can be defined to set the order of the prompt segments:
POWERLINE_PROMPT="user_info scm python_venv ruby cwd" POWERLINE_PROMPT="user_info scm python_venv ruby cwd"

View File

@ -44,16 +44,21 @@ The time/date is printed by the `date` command, so refer to its man page to chan
The contents of the prompt can be "reordered", all the "segments" (every piece of information) can take any place. The currently available segments are: The contents of the prompt can be "reordered", all the "segments" (every piece of information) can take any place. The currently available segments are:
* battery * `battery` - Battery information (you'll need to enable the `battery` plugin)
* clock * `clock` - Current time in `HH:MM:SS` format
* cwd * `cwd` - Current working directory including full folder hierarchy (c.f. `wd`)
* in_vim * `hostname` - Host name of machine
* python_venv * `in_vim` - Show identifier if running in `:terminal` from vim
* ruby * `last_status` - Exit status of last run command
* scm * `python_venv` - Python virtual environment information (`virtualenv`, `venv`
* user_info and `conda` supported)
* `ruby` - Current ruby version if using `rvm`
* `scm` - Version control information, `git`
* `user_info` - Current user
* `wd` - Working directory, like `cwd` but doesn't show the full folder
hierarchy, only the directory you're currently in.
A variables can be defined to set the order of the prompt segments: A variable can be defined to set the order of the prompt segments:
POWERLINE_PROMPT="user_info scm python_venv ruby cwd" POWERLINE_PROMPT="user_info scm python_venv ruby cwd"