Improve documentation on prompt options for powerline themes
parent
671cd35a3b
commit
396bedf11e
|
|
@ -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:
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -42,14 +42,19 @@ 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 variables can be defined to set the order of the prompt segments:
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -40,14 +40,19 @@ 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 variables can be defined to set the order of the prompt segments:
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -44,14 +44,19 @@ 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 variables can be defined to set the order of the prompt segments:
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue