Replace {path} with {repository_root}

Closes #429
This commit is contained in:
ZyX 2013-04-16 07:58:24 +04:00
parent 2d036c0de8
commit 2a6a4a07e6

View File

@ -91,12 +91,12 @@ Usage
Vim statusline Vim statusline
-------------- --------------
Add the following line to your :file:`vimrc`, where ``{path}`` is the Add the following line to your :file:`vimrc`, where ``{repository_root}`` is the
absolute path to your Powerline installation directory: absolute path to your Powerline installation directory:
.. code-block:: vim .. code-block:: vim
set rtp+={path}/powerline/bindings/vim set rtp+={repository_root}/powerline/bindings/vim
If you're using Vundle or Pathogen and don't want Powerline functionality in If you're using Vundle or Pathogen and don't want Powerline functionality in
any other applications, simply add Powerline as a bundle and point the path any other applications, simply add Powerline as a bundle and point the path
@ -115,22 +115,22 @@ Shell prompts
Bash prompt Bash prompt
^^^^^^^^^^^ ^^^^^^^^^^^
Add the following line to your :file:`bashrc`, where ``{path}`` is the Add the following line to your :file:`bashrc`, where ``{repository_root}`` is
absolute path to your Powerline installation directory: the absolute path to your Powerline installation directory:
.. code-block:: bash .. code-block:: bash
. {path}/powerline/bindings/bash/powerline.sh . {repository_root}/powerline/bindings/bash/powerline.sh
Zsh prompt Zsh prompt
^^^^^^^^^^ ^^^^^^^^^^
Add the following line to your :file:`zshrc`, where ``{path}`` is the Add the following line to your :file:`zshrc`, where ``{repository_root}`` is the
absolute path to your Powerline installation directory: absolute path to your Powerline installation directory:
.. code-block:: bash .. code-block:: bash
. {path}/powerline/bindings/zsh/powerline.zsh . {repository_root}/powerline/bindings/zsh/powerline.zsh
If you are not satisfied with powerline speed in this case, compile zpython If you are not satisfied with powerline speed in this case, compile zpython
branch from https://bitbucket.org/ZyX_I/zsh. branch from https://bitbucket.org/ZyX_I/zsh.
@ -138,10 +138,10 @@ branch from https://bitbucket.org/ZyX_I/zsh.
Tmux statusline Tmux statusline
--------------- ---------------
Add the following line to your :file:`tmux.conf`, where ``{path}`` is the Add the following line to your :file:`tmux.conf`, where ``{repository_root}`` is
absolute path to your Powerline installation directory:: the absolute path to your Powerline installation directory::
source '{path}/powerline/bindings/tmux/powerline.conf' source '{repository_root}/powerline/bindings/tmux/powerline.conf'
IPython prompt IPython prompt
-------------- --------------
@ -174,12 +174,12 @@ Awesome widget
.. note:: The Powerline widget will spawn a shell script that runs in the .. note:: The Powerline widget will spawn a shell script that runs in the
background and updates the statusline with ``awesome-client``. background and updates the statusline with ``awesome-client``.
Add the following to your :file:`rc.lua`, where ``{path}`` is the absolute Add the following to your :file:`rc.lua`, where ``{repository_root}`` is the
path to your Powerline installation directory: absolute path to your Powerline installation directory:
.. code-block:: lua .. code-block:: lua
package.path = package.path .. ';{path}/powerline/bindings/awesome/?.lua' package.path = package.path .. ';{repository_root}/powerline/bindings/awesome/?.lua'
require('powerline') require('powerline')
Then add the ``powerline_widget`` to your ``wibox``: Then add the ``powerline_widget`` to your ``wibox``: